Help with GifImageDecoder.java bug

Jeremy Wood mickleness at gmail.com
Mon Apr 28 08:10:41 UTC 2025


Is anyone here good at (and available to help with) creating gifs with 
specific properties?

I identified a bug in GifImageDecoder that has to do with mixing 
different disposal methods and transparent pixel indices. If you create 
a ToolkitImage to render these gifs, it displays some bad background 
rectangles:

https://drive.google.com/file/d/15j8Qb7N7orKNWL2_pCh5ZJxwwbH0gBfu/view?usp=sharing

I have a 1-line proposal for a solution ready to go, but to proceed with 
an OpenJDK ticket I need to create a gif file that I can legally share. 
So I want to mimic their basic data structure, but not their visual 
content. Maybe I can figure this out in a couple of hours, but I suspect 
there are some smart people out there who can do it in less than 10 
minutes.

Regards
  - Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20250428/0e39d045/attachment-0001.htm>


More information about the client-libs-dev mailing list