-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
1.3.1_02, 1.4.0
-
sparc
-
solaris_7
When display a rotated RGBA image (with the alpha channel premultiplied), the red channel has little holes (0 values).
In the attached test program, the attached RGBA image strike_tiled.tif is rotated and displayed. However, the rotated image has small 0-valued regions (See the screen-captured result, Error1.tif). Each channel of the rotated image are stored into images: Alpha.tif, Red.tif, Green.tif and Blue.tif. No any 0 values can be observed at those pixels on every channel. So this problem should be introduced in the rendering.
To reproduce the problem, use the command line :
java -Djai.UnitTest.imageDir=. RotateTest -f strike_tiled.tif -bicubic
The roated RGBA image file is attached as Error.tif
In the attached test program, the attached RGBA image strike_tiled.tif is rotated and displayed. However, the rotated image has small 0-valued regions (See the screen-captured result, Error1.tif). Each channel of the rotated image are stored into images: Alpha.tif, Red.tif, Green.tif and Blue.tif. No any 0 values can be observed at those pixels on every channel. So this problem should be introduced in the rendering.
To reproduce the problem, use the command line :
java -Djai.UnitTest.imageDir=. RotateTest -f strike_tiled.tif -bicubic
The roated RGBA image file is attached as Error.tif
- relates to
-
JDK-4640795 drawRenderedImage display premultiplied RGBA incorrectly in 1.3.1_02
-
- Open
-