javax.imageio.IIOException: Unsupported Image Type

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by Ludovic Davoine, 1 year ago
Unsupported Image Type
via Apache's JIRA Issue Tracker by Ludovic Davoine, 1 year ago
Unsupported Image Type
via Oracle Community by 843799, 1 year ago
Unsupported Image Type
via GitHub by murdog05
, 1 year ago
Unsupported Image Type
via GitHub by Svantulden
, 2 years ago
Unsupported Image Type` Exception. I have only added the TwelveMonkeys `imageio-jpeg version 3.1.0` dependency via Maven, this should be enough to be used by `ImageIO.read(inputStream);` right? I think the image is in CMYK, but I don't know
javax.imageio.IIOException: Unsupported Image Type
at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at org.apache.pdfbox.filter.JPXFilter.decode(JPXFilter.java:56)
at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:342)
at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:254)
at org.apache.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:188)
at org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:232)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
8 times, 1 month ago
16 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.