Hi Daniel,

Your GIF image appears to be buggy.

In AWT renderer, I get an exception, and I loose black pixels when I try to 
"save for the Web" your GIF from my picture editor... 

Exception in thread "AWT-EventQueue-0" java.awt.image.RasterFormatException: 
Data array too small (should be 155042 )


Pascal

> -----Message d'origine-----
> De : Daniel Noll [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 27 mars 2007 01:40
> 
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to