Hello Jeremias, Unfortunately it still does not work on my computer. Maybe we can find the difference between your configuration and mine. I have tried to collect some data that may help you. I am using a Windows XP System. But the Productive System is a Linux System. But both Systems have the same problem with the image.
If you are interested in more information let me know D:\Dokumente und Einstellungen\eberhardt\Desktop>fop -v -fo robert.fo -ps out.ps FOP Version 0.95beta 16.06.2008 16:12:14 org.apache.fop.fo.flow.ExternalGraphic bind SCHWERWIEGEND: Image not available: No ImagePreloader found for langh_bilder_3_direkt.eps D:\Dokumente und Einstellungen\eberhardt\Desktop>java -version java version "1.5.0_10" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03) Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode) D:\Dokumente und Einstellungen\eberhardt\Desktop>type robert.fo <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-height="29.7cm" page-width="21cm" margin="2cm"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4"> <fo:flow flow-name="xsl-region-body"> <fo:block><fo:external-graphic src="langh_bilder_3_direkt.eps"/></fo:block> </fo:flow> </fo:page-sequence> </fo:root> D:\Dokumente und Einstellungen\eberhardt\Desktop>dir lang*.eps Datentrager in Laufwerk D: ist Daten Volumeseriennummer: 2C82-C710 Verzeichnis von D:\Dokumente und Einstellungen\eberhardt\Desktop 16.06.2008 13:51 4.263.467 langh_bilder_3_direkt.eps 1 Datei(en) 4.263.467 Bytes 0 Verzeichnis(se), 27.008.802.816 Bytes frei -----Ursprungliche Nachricht----- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] Gesendet: Montag, 16. Juni 2008 15:07 An: [email protected] Betreff: Re: AW: Problem with EPS Pictures in fop 0.95 On 16.06.2008 14:55:38 Robert Eberhardt wrote: > Hello Jeremias, > > First I want to apologize for sending the images off list. Why? I wrote that this is a possibility. Actually, you might have made a few people grumpy by sending such a large file to the list. Large files are better sent to individuals offering to look into an issue. > Second I tried to emebed the file I have sent to you (the second file), but > it failed with the same message (No Image Preloader found). I think the > first file was inserted by the mail server I am using. Weird. > I Attached my classpath file, to ask if you can see if I am may using a to > old version of a required library. (smt.jar, mail.jar an so on can be > ignored, I need them the because my application sends the produced pdf by > mail.) > > <classpathentry kind="src" path="src"/> > <classpathentry kind="lib" path="lib/avalon-framework-4.2.0.jar"/> > <classpathentry kind="lib" path="lib/batik-all-1.6.jar"/> > <classpathentry kind="lib" path="lib/commons-logging-1.0.4.jar"/> > <classpathentry kind="lib" path="lib/jdom.jar"/> > <classpathentry kind="lib" path="lib/ojdbc14.jar"/> > <classpathentry kind="lib" path="lib/serializer-2.7.0.jar"/> > <classpathentry kind="lib" path="lib/xalan-2.7.0.jar"/> > <classpathentry kind="lib" path="lib/xercesImpl-2.7.1.jar"/> > <classpathentry kind="lib" path="lib/xml-apis-1.3.02.jar"/> > <classpathentry kind="lib" path="lib/dsn.jar"/> > <classpathentry kind="lib" path="lib/imap.jar"/> > <classpathentry kind="lib" path="lib/mail.jar"/> > <classpathentry kind="lib" path="lib/mailapi.jar"/> > <classpathentry kind="lib" path="lib/pop3.jar"/> > <classpathentry kind="lib" path="lib/smtp.jar"/> > <classpathentry kind="lib" path="lib/activation.jar"/> > <classpathentry kind="lib" path="lib/log4j-1.2.15.jar"/> > <classpathentry kind="lib" path="lib/xmlgraphics-commons-1.3.jar" > sourcepath="D:/Dokumente und > Einstellungen/eberhardt/Desktop/xmlgraphics-commons-1.3/src/java"> > <attributes> > <attribute name="javadoc_location" value="file:/D:/Dokumente > und Einstellungen/eberhardt/Desktop/xmlgraphics-commons-1.3/javadocs/"/> > </attributes> > </classpathentry> > <classpathentry kind="lib" path="lib/fop_095.jar"/> > <classpathentry kind="var" path="JRE_LIB"/> > <classpathentry kind="lib" path="lib/commons-io-1.3.1.jar"/> > > Maybe you can tell me which jar needs to be updated. None. Looks good. Are you really, really sure that you're loading the right file? (one that begins with "%!PS-Adobe-3.0 EPSF-3.0") Optionally, you can download XML Graphics Common 1.3.1 which contains a few bugfixes but it shouldn't affect the present case. Do PNG or JPEG files work instead of EPS (just as a test for your environment)? Unfortunately we have to use eps Files. JPG Files work. I have no experience with PNG Files and fop. > Here you can see the fop code that I use to embed the eps file; > > <fo:block color="white" font-family="ArialRegular" font-size="9pt" > > <fo:external-graphic content-width="95mm" content-height="45mm" > scaling="uniform"> > <xsl:attribute name="padding-left"> > <xsl:value-of select="$padding"></xsl:value-of> > </xsl:attribute> > <xsl:attribute name="src"> > <xsl:value-of select="IMAGE/@url"/> > </xsl:attribute> > </fo:external-graphic> > </fo:block> > > Maybe you can send me the code that you have used to test the image. I tested from the command-line (fop -fo robert.fo -ps out.ps) with this file: <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="A4" page-height="29.7cm" page-width="21cm" margin="2cm"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="A4"> <fo:flow flow-name="xsl-region-body"> <fo:block><fo:external-graphic src="langh_bilder_3_direkt_2.eps"/></fo:block> </fo:flow> </fo:page-sequence> </fo:root> > > -----Ursprungliche Nachricht----- > Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 16. Juni 2008 14:34 > An: [email protected] > Betreff: Re: Problem with EPS Pictures in fop 0.95 > > Robert sent me two files off-list. The first (size 65KB) is something I > don't recognize. It's definitely not an EPS file (neither binary not > ASCII). GhostScript cannot display it either. ImageMagick seems to think > of it as an EPS file but then fails to process it. The second (size > 4.1MB) is an ASCII-mode EPS containing a large bitmap. That is displayed > by GhostScript and properly handled by FOP 0.95beta. > > I assume you get the error for the first file but you opened the second > in GhostScript. You probably chose the wrong file format for saving the > image in Photoshop or something like that. I mention Photoshop as that > string can be found in both files. > > On 16.06.2008 13:26:50 Robert Eberhardt wrote: > > Hello, > > > > I have a problem with a single eps picture. > > > > I try to emdeb the image as an <fo:external-graphic> in a Postscript File. > > I get the following Error Message > > > > > > 2008-06-16 13:20:13,343 ERROR [main] org.apache.fop.fo.FONode: Image not > > available: No ImagePreloader found for > > > W:\.eclipse_Head\Mailing\res\images\tmp\tmp2\..\..\medias\0000\00\13\33\1258 > > 418.eps > > > > The picture is in the given directory and other eps files are loaded as > > well. Loading the eps picture with gostview also works fine. > > > > > > Maybe someone can help me to find the right image preloader for that file. > > > > > > Kind regards Robert Eberhardt > > -- > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
