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

passStarted() and passComplete() are not notified for JPEG when an image is read

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified

      passStarted() and passCompleted() methods of IIOReadUpdateListener are not
      getting notified for JPEG image when a progressively encoded image is read.
      Only the imageUpdate() method is getting invoked. This is noticed on all the platforms.
      This works fine for PNG. I have tested this with images which are progressively
      encoded using a native application. I have enclosed the sample code which
      reproduces this failure.

      How to run the sample code :
      Compile the .java file and run the sample code using appletviewer.
      If you get messages in the command window saying that the above methods are
       invoked then the testcase passes. If you don't get the message for any of the
       above methods(except imageUpdate) then the bug is reproduced.

            dricesunw Daniel Rice (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: