-
Bug
-
Resolution: Fixed
-
P3
-
6, 8, 9
-
b147
-
generic
-
generic
I am creating an Animated GIF image from a set of opaque PNG frames using GIF Writer. When loading the created gif image using Toolkit.getImage(), the image looks transparent when it is not supposed to be. Same gif image loaded in a native image viewer works perfectly. Hence java GIF decoder fails to load this image properly.
This is reproducible since Mustang-b53 on all platforms. On b52, the output image looks black because of a different bug. This works fine when using other image frames such as JPG, BMP etc.
I have attached a sample test. Execute the sample test as follows:
java WriterTest PNG
You would see set of images being loaded on to the frame and you would see 2 animated GIF images at the end. If the moving ball looks transparent (you would see the background color), the bug is reproduced.
This is reproducible since Mustang-b53 on all platforms. On b52, the output image looks black because of a different bug. This works fine when using other image frames such as JPG, BMP etc.
I have attached a sample test. Execute the sample test as follows:
java WriterTest PNG
You would see set of images being loaded on to the frame and you would see 2 animated GIF images at the end. If the moving ball looks transparent (you would see the background color), the bug is reproduced.