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

FilteredImageSource does not filter some animated images properly, when passing a grayscale filter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.2
    • client-libs
    • 2d
    • generic
    • generic

      I have extended RGBImageFilter and implemented a GrayFilter. Passing this GrayFilter to FilteredImageSource along with an Image object representing an animated GIF image. When I render the output image, some of the image frames are not converted to gray scale and still appear in color.

      This is reproducible on all platforms atleast since 1.4.2.

      I have attached a sample test and the image for which the test has failed. Run the test passing the image file name as a command line argument. If you see some color frames in the gray scale image rendered, the bug is reproduced.

            bae Andrew Brygin
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: