On 30.05.2008 09:09:06 Robert Eberhardt wrote: > Hello > > I am getting the following message when trying to build a ps fie with fop. > > 2008-05-30 08:24:18,668 ERROR [Root Thread] org.apache.fop.fo.FONode: Image > not available: No ImagePreloader found for /home/user/medias/0000/../../medi > as/0000/00/0f/43/1000429.jpg > > the Problem is that the image exists and another image in the directory can > be found (svg image)
This error can have two causes: 1. A class loading problem so the image loading framework in xmlgraphics-commons.jar doesn't see the ImagePreloader classes. This is unlikely as both are in the same JAR for the JPEG case. 2. More likely is that you have a rather strange JPEG file which is not recognized by the ImagePreloader. Can you try a different JPEG from a different source? Or can you post the JPEG image that doesn't load? "No ImagePreloader" also means that the file was actually found but the image loader framework didn't know how to deal with the file. > Can somebody tell me which classes are used for loading EPS and JPG files in > a postscript document. Sure: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/PreloaderJPEG.java?view=markup http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/image/loader/impl/PreloaderEPS.java?view=markup > Kind Regards Robert Eberhardt > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
