question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IIOException "Unsupported Image Type" while reading CMYK JPEG on OpenJDK

See original GitHub issue

I’ve got javax.imageio.IIOException: Unsupported Image Type while reading JPG image with CMYK color space with imageio-jpeg-3.3.2. Input image: 1309390204204_0x22111122_cmyk

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pszemuscommented, Apr 19, 2017

Thanks, I’ll check which versions of libjpeg both JRE use.

I assume you can read other JPEGs using the OpenJDK build?

Yes, only that particular one is being problematic.

0reactions
haraldkcommented, Apr 26, 2017

Fixed in 2eecdbb

Read more comments on GitHub >

github_iconTop Results From Across the Web

[JDK-8274735] javax.imageio.IIOException - Java Bug System
javax.imageio.IIOException: Unsupported Image Type while processing a valid JPEG image ... ImageIO.read on JPEG image with CMYK throws javax.imageio.
Read more >
Java ImageIO IIOException: Unsupported image type?
Try to check the encoding of the JPEG. ImageIO can't read CMYK-encoded jpeg images for example. AFAIK, ImageIO hasn't been updated for years ......
Read more >
JDK-8274735 javax.imageio.IIOException - Java Bug Database
ImageIO.read on JPEG image with CMYK throws javax.imageio.IIOException: Unsupported Image Type Here is the stack: javax.imageio.IIOException: Unsupported ...
Read more >
Re: RFR: 8274735: javax.imageio.IIOException: Unsupported ...
openjdk.org> wrote: > The JDK's built-in Image I/O JPEG plugin decodes JPEGs which are YCbCr and > RGb and Grayscale but rejects CMYK...
Read more >
Solved: Error when loading image with Java: javax.imageio ...
IIOException : Unsupported Image Type from the expert community at ... JPEG/CMYK are not supported afaik (so you cannot use ImageIO to read...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found