Withdrawn: 8356320: GifImageDecoder can produce wrong image when GCE changes transparent pixel index

Jeremy Wood duke at openjdk.org
Thu May 15 00:33:19 UTC 2025


On Wed, 7 May 2025 02:55:12 GMT, Jeremy Wood <duke at openjdk.org> wrote:

> When a gif frame's disposal code is DISPOSAL_BGCOLOR and we're maintaining a saved image: we have to flood-fill the frame's bounds. And if the transparent pixel index changes across frames: we could sometimes flood fill the wrong value, resulting in an opaque rectangle in the output image.
> 
> (I know this looks similar to https://github.com/openjdk/jdk/pull/25044 , but if you look at the data structure of the sample gifs: they are separate problems with separate solutions.)

This pull request has been closed without being integrated.

-------------

PR: https://git.openjdk.org/jdk/pull/25076


More information about the client-libs-dev mailing list