-
Bug
-
Resolution: Fixed
-
P4
-
e6u10, 5.0, 6u21, 6u30, 6u31, 6u32
-
b63
-
generic, x86, arm
-
generic, linux, solaris_11, windows_vista, windows_7
I am setting the TopDown property to true in BMPWriteParam by calling setTopDown(true). I am getting all the supported compression types and looping through them one by one and setting it to the write param. I am writing the image using each of these compression types, with topdown true using BMPImageWriter.
I noticed that the image is actually inverted for some of the compression types such BI_RGB and BI_BITFIELDS whereas it is normal for other compression types such as BI_JPG and BI_PNG. The spec does not say anything about the dependency of TopDown on compression. I feel the behavior of TopDown must be same regardless of what compression types are used.
This is reproducible on all platforms right from Tiger-FCS.
I have attached a sample test that would demonstrate this bug.
###@###.### 2005-07-14 14:20:11 GMT
I noticed that the image is actually inverted for some of the compression types such BI_RGB and BI_BITFIELDS whereas it is normal for other compression types such as BI_JPG and BI_PNG. The spec does not say anything about the dependency of TopDown on compression. I feel the behavior of TopDown must be same regardless of what compression types are used.
This is reproducible on all platforms right from Tiger-FCS.
I have attached a sample test that would demonstrate this bug.
###@###.### 2005-07-14 14:20:11 GMT
- duplicates
-
JDK-6828679 linux-arm: Images in WriterCompressionTypeTest and ImageWriteParamTest show inverted images.
- Closed
-
JDK-6957692 2D_ImageIOTiger/ImageWriteParamTest: Some images are upside down.
- Closed
-
JDK-7114661 Some images are shown upside-down
- Closed
-
JDK-8079570 Some images are upside down.
- Closed