> -----Message d'origine----- > De : Daniel Noll [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 28 mars 2007 01:13 > > 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.
Hmm, I tried it on Photoshop, and I confirm that I loose black pixels while rendering "for the Web". Strange. Someone else have an idea? > (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 Pascal --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]