-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.3.0_01
-
sparc
-
solaris_7
For a BufferedImage with CS_* color space other than CS_sRGB, when it is displayed with a negative translation, it is converted back to RGB color space and then displayed; if the translation parameters are positive, the image is displayed as it is a RGB image.
Please see the attached test program.
when running a TiledImageTest in JAI using jdk 1.3fcs and jdk 1.4, the gray-scale images wasn't correctly displayed.
Please refer to the attached images:
test_jdk1.2.2_06_jai1.0.2.tiff: The result of TiledImageTest in JAI 1.0.2 using jdk 1.2.2_06
test_jdk1.3fcs_jai1.1.tiff: The result image of TiledImageTest in JAI 1.1 using jdk 1.3fcs. Using jdk 1.4, the speed for display is as fast as using jdk 1.2.2 but the image displayed is similar to the result using with jdk 1.3fcs.
tiled.tiff: the bottom-right corner gray-scale image stored using jai tiff writer when capturing test_jdk1.3fcs_jai1.1.tiff. It different to the same corner image in test_jdk1.3fcs_jai1.1.tiff.
It seems an operation is done before display. The background color is stretched from 16 to 71.
Please see the attached test program.
when running a TiledImageTest in JAI using jdk 1.3fcs and jdk 1.4, the gray-scale images wasn't correctly displayed.
Please refer to the attached images:
test_jdk1.2.2_06_jai1.0.2.tiff: The result of TiledImageTest in JAI 1.0.2 using jdk 1.2.2_06
test_jdk1.3fcs_jai1.1.tiff: The result image of TiledImageTest in JAI 1.1 using jdk 1.3fcs. Using jdk 1.4, the speed for display is as fast as using jdk 1.2.2 but the image displayed is similar to the result using with jdk 1.3fcs.
tiled.tiff: the bottom-right corner gray-scale image stored using jai tiff writer when capturing test_jdk1.3fcs_jai1.1.tiff. It different to the same corner image in test_jdk1.3fcs_jai1.1.tiff.
It seems an operation is done before display. The background color is stretched from 16 to 71.
- relates to
-
JDK-4377680 [JAI] Non-RGB bufferedImage displayed w/positive translation is not converted to
- Resolved