would you happen to be running as root user (uid 0), or non-root? i recently
encountered a similar problem on 1.0 when running junit tests as root; the
other thing to check is verify you are using xmlgraphics-commons-1.4.jar and
batik-all-1.7.jar;

On Thu, Sep 16, 2010 at 3:42 PM, dvzoerlandt <[email protected]>wrote:

>
> Hello,
>
> Since the migration from Apache FOP 0.95 to FOP 1.00 in our Java
> application
> images fail to render. The interesting part of the logging is as follows:
>
> ---
> Image not available. URI:
> file:/u/vbs/stylesheets/images/compas_vbfooter.bmp. Reason:
> org.apache.xmlgraphics.image.loader.ImageException: The file format is not
> supported. No ImagePreloader found for
> file:/u/vbs/stylesheets/images/compas_vbfooter.bmp (No context info
> available)
> ---
>
> I also had to upgrade Apache XML Graphics Commons from 1.3.1 to 1.4. When
> reverting back to FOP 0.95 (and to XML Graphics Commons 1.3.1) images are
> working again. The combination FOP 0.95 with XML Graphics Commons 1.4 also
> results in working images.
>
> As well as BMP files as JPEG files are failing to render. With both file
> types the same message is reported.
>
> I enabled finest logging for org.apache.fop and org.apache.xmlgraphics but
> I
> didn't find no corresponding messages about an ImagePreloader.
>
> I also installed JAI Image I/O Tools and the corresponding JAI (according
> to
> http://xmlgraphics.apache.org/fop/1.0/graphics.html#imageio ) but to no
> success regarding to this problem.
>
> Can anyone give me a pointer in the right direction?
>
> Regards,
> Dennis
> --
> View this message in context:
> http://old.nabble.com/FOP-1.0%3A-images-fail-to-render-tp29725748p29725748.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to