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

GIFImageReader always decodes first row regardless of ImageReadParam settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • generic
    • solaris_7

        The GIF reader plug-in uses a private instance variable 'decodeThisRow' to
      determine whether a given row should be output, based on the region of interest
      and subsampling factors set via an ImageReadParam. This variable is incorrectly
      set to 'true' at the start of decoding, whereas it could be false if the
      source region were set such that the first row is excluded.

        The variable should be set initially using the same logic that is used on
      subsequent rows.

        This bug was found using the test/javax/imageio/IRPtest, which will also serve
      as the regression test for the fix.

            dricesunw Daniel Rice (Inactive)
            dricesunw Daniel Rice (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: