Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4640749

Premultiplied RGBA image displayed incorrectly

XMLWordPrintable

    • 2d
    • 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

            Unassigned Unassigned
            qgao Qinghuai Gao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: