my dog learned polymorphism
The moose likes Swing / AWT / SWT and the fly likes Unsupported color conversion request Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Unsupported color conversion request" Watch "Unsupported color conversion request" New topic

Unsupported color conversion request

Cindy Jones
Ranch Hand

Joined: Oct 08, 2002
Posts: 66
I am getting the following exception when trying to load an image:
sun.awt.image.ImageFormatException: Unsupported color conversion request
at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
at sun.awt.image.JPEGImageDecoder.produceImage(
at sun.awt.image.InputStreamImageSource.doFetch(
at sun.awt.image.ImageFetcher.fetchloop(
On googling, I found that this is because the color model is CMYK and not RGB. Has anyone faced this before? One option here( is to edit this in photoshop to use RGB model. Does anyone else have anything else that I can try ?

I agree. Here's the link:
subject: Unsupported color conversion request
It's not a secret anymore!