-
Bug
-
Resolution: Fixed
-
P3
-
e6u10, 6, 6u31
-
b14
-
generic, x86, arm
-
generic, linux, solaris_2.5.1
-
Verified
I am reading a transparent GIF image using toolkit APIs and drawing to one of the following buffered image types
INT_ARGB
INT_ARGB_PRE
4BYTE_ABGR
4BYTE_ABGR_PRE
When I write the above images to a file using GIF writer, the background of these images are no longer transparent and the quality of these images are low compared to RGB ones. I have attached few screenshots of the same.
This is reproducible on all the platforms with the following PIT build:
java version "1.6.0-2d.pit-jcg-win-03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit-jcg-win-03-java2d_25_may_2005_00_37-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)
I have attached a sample test. Execute the sample test as follows.
java WriterTest gif <input img>
The input image and output image are shown on the frame. You would notice that for the above mentioned image types, image loaded on the right side are of poor quality compared to the ones on the left.
###@###.### 2005-05-26 17:30:55 GMT
INT_ARGB
INT_ARGB_PRE
4BYTE_ABGR
4BYTE_ABGR_PRE
When I write the above images to a file using GIF writer, the background of these images are no longer transparent and the quality of these images are low compared to RGB ones. I have attached few screenshots of the same.
This is reproducible on all the platforms with the following PIT build:
java version "1.6.0-2d.pit-jcg-win-03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit-jcg-win-03-java2d_25_may_2005_00_37-b00)
Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)
I have attached a sample test. Execute the sample test as follows.
java WriterTest gif <input img>
The input image and output image are shown on the frame. You would notice that for the above mentioned image types, image loaded on the right side are of poor quality compared to the ones on the left.
###@###.### 2005-05-26 17:30:55 GMT
- duplicates
-
JDK-6536274 image corruption after write/read using gif writer
- Closed
-
JDK-6509631 GIF Writer fails to encode TYPE_4BYTE_ABGR bimg with LGP/RGP configured with transparent colors
- Closed
-
JDK-6828684 linux-arm: WriterCompressionTypeTest and ImageWriteParamTest doesnot show gif background
- Closed
-
JDK-7114646 The background differs from original one
- Closed
- relates to
-
JDK-6480688 REG: Transfer of translucent images across JVM through sys clipboard distorts the image, XToolkit
- Open