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

Clipping of image not proper for BYTE_BINARY 2bit or 4bit in Java2D Demo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • client-libs
    • 2d
    • generic
    • generic

      Clipping of image when image type is set as BYTE_BINARY 2bit or 4bit is not proper. The clipped image is entirely different from the specified text.
      Attached here with is the screen shot of the same. Fails in all platforms.

      1) Run Java2D Demo
      2) Click on "Clipping" Tab
      3) Select "demos.Clipping.Areas" tab
      4) Select "Image" from the clip selection
      5) Select Image Type as BYTE_BINARY 2bit or 2bit
      6) The clipped image is very much different from the text

      The above failiures are noted for clipping of image alone.
      This works fine for Lines, TP, GP, Text.
       
      Java version :
      --------------
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b04)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b04, mixed mode)

            Unassigned Unassigned
            rmenonsunw Rakesh Menon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: