The Exception "org.apache.xmlgraphics.image.loader.ImageException: The file
format is not supported. No ImagePreloader found for ..." is thrown when FOP
try to get info of image with "xmlgraphics-commons" library and then assign
a predefined  preloaded type to your image.

Fop search the registred services on 
- META-INF/services/org.apache.xmlgraphics.image.loader.spi.ImageConverter
-
META-INF/services/org.apache.xmlgraphics.image.loader.spi.ImageLoaderFactory
- META-INF/services/org.apache.xmlgraphics.image.loader.spi.ImagePreloader

This problem is encountered because fop.jar uses the same services names
like xmlgraphics-commons.jar, and when compiling your applet, the fop
services overwrite the xmlgraphics-commons services.

So Check that the Preloader Implementation are registred in your services
like : 
org.apache.xmlgraphics.image.loader.impl.PreloaderTIFF
org.apache.xmlgraphics.image.loader.impl.PreloaderGIF
org.apache.xmlgraphics.image.loader.impl.PreloaderJPEG
org.apache.xmlgraphics.image.loader.impl.PreloaderBMP
org.apache.xmlgraphics.image.loader.impl.PreloaderEMF
org.apache.xmlgraphics.image.loader.impl.PreloaderEPS
org.apache.xmlgraphics.image.loader.impl.imageio.PreloaderImageIO (used for
PNG Formats)


good luck :)








--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/FOP-1-0-images-fail-to-render-tp7348p39837.html
Sent from the FOP - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to