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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: