-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
6
-
generic
-
generic
I am creating a RGB buffered image and writing it to a file using GIF Writer. When writing the image, I am getting the default image metadata from the writer by passing the ImageTypeSpecifier of the RGB image and passing it to the write method. When I read back the image from the file, the image appears in GRAYSCALE even though the image written is a RGB image. This is incorrect.
This is reproducible on all platforms on Mustang-b40. This is not reproducible for any other writer such as JPG, PNG, BMP.
I have attached a sample test. Execute the sample test as follows:
java GIFWriterMetadataTest gif <image file>
If a frame is shown with a gray scale version of the given image, the bug is reproduced.
###@###.### 2005-06-16 11:19:56 GMT
This is reproducible on all platforms on Mustang-b40. This is not reproducible for any other writer such as JPG, PNG, BMP.
I have attached a sample test. Execute the sample test as follows:
java GIFWriterMetadataTest gif <image file>
If a frame is shown with a gray scale version of the given image, the bug is reproduced.
###@###.### 2005-06-16 11:19:56 GMT
- duplicates
-
JDK-6299924 Animated GIF image is blank/gray scale when created from a set of PNG/JPG image frames
- Closed
-
JDK-6294363 OutOfMemoryError when writing USHORT GRAY images using GIF Writer
- Closed