You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Daniel Noll <da...@nuix.com> on 2007/03/27 01:39:31 UTC

Strange scaling of GIF images

Hi all.

It seems FOP is doing some strange image scaling on GIF images.  I have 
trimmed my FO down to a really simple example (literally just a 
<fo:block> with an <fo:external-graphic> with only the src attribute.

This zip contains the source FO, the GIF file and the resulting PDF:

   http://trypticon.org/files/fop-gif-scaling-bug.zip

As you can see from the PDF, the GIF is scaled in a weird fashion, but 
not only that, the black lines have vanished somehow too (so it's 
omitting data.)

I've loaded the same image using ImageIcon and confirmed that Java 
itself can load the image correctly.

I assume that this is a FOP bug, but wanted to check here first so that 
I could ask if anyone else has encountered it, and whether there is a 
known workaround.

Daniel



-- 
Daniel Noll

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://nuix.com/                               Fax: +61 2 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.

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