Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unsupported Color Conversion Request

 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting an ImageFormatException "Unsupported Color Conversion Request" when I try to run a program that displays an image. The image was created in Photoshop (I believe in CMYK). What does this message mean, and what can I do about it?

Thanks for any help!
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of image is it? What extension?
 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The image is a .jpg
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Want to show us the code?
 
Jennifer Sohl
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just for the heck of it, I had our design guy use RGB rather than CMYKj on the image, and it worked??

So, I guess I'm OK.

But I'm still a bit curious why it made a difference if the image was created with CMYK colors.

Any ideas?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic