-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
generic
-
generic
I am creating an animated GIF image from a set of PNG images using GIF Writer. I am getting the image metadata of each image frame and converting it to GIFImageMetadata by calling convertImageMetadata(). I am also setting few other properties related to animation such as transparentColorFlag, delayTime, applicationID etc. When I read the animated image using Toolkit APIs and render it on the screen, the image is completely black. The same code works fine if the individual image frames are GIF images.
When I do the same with a set of JPG image frames, I am getting the animated image in gray scale, though the individual frames are RGB frames.
This is reproducible on all platforms with Mustang builds. I have attached the sample test and the sample image frames that I used. Run the application as follows:
'java WriterTest <dir Name>'. ex: java WriterTest Tiger or java WriterTest Tiger_PNG
For PNG, you will see a blank image at the right most end of the frame.
###@###.### 2005-07-21 11:32:47 GMT
When I do the same with a set of JPG image frames, I am getting the animated image in gray scale, though the individual frames are RGB frames.
This is reproducible on all platforms with Mustang builds. I have attached the sample test and the sample image frames that I used. Run the application as follows:
'java WriterTest <dir Name>'. ex: java WriterTest Tiger or java WriterTest Tiger_PNG
For PNG, you will see a blank image at the right most end of the frame.
###@###.### 2005-07-21 11:32:47 GMT
- duplicates
-
JDK-6286578 GIF Writer writes RGB image in gray scale when def img metadata is specified
- Closed