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

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

XMLWordPrintable

    • b110
    • generic
    • generic
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: