Pascal Sancho wrote:
Hi Daniel,

Your GIF image appears to be buggy.

It isn't, however.

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...

This doesn't happen on my copy of GIMP. It renders correctly and with the correct margin, and when I save it, it works.

(And BTW, I'm pretty sure it isn't possible to "loose" pixels.)

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

Sounds like the AWT renderer is encountering the same bug as the PDF renderer, only the PDF renderer is silently losing data while the AWT renderer is throwing an exception. :-(

The two must be using different methods of reading the GIF. (And neither method is providing a result similar to ImageIcon's correct rendering.)

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to