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

JPG causes javax.imageio.IIOException: ICC APP2 encoutered without prior JFIF!

    XMLWordPrintable

Details

    • b110
    • generic
    • generic
    • Verified

    Backports

      Description

        Trying to read a certain JPEG image which is stored with CMYK color profile throws an IIOException when trying to get the image metadata of the (first and only) image in the file.

        Apparently the 'old' com.sun.image.codec.jpeg.JPEGImageDecoder is able to read that sample image. But to me this is no solution because it is not portable enough.

        Attachments

          Issue Links

            Activity

              People

                anashaty Anton Nashatyrev (Inactive)
                anashaty Anton Nashatyrev (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: