Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unsupported color conversion request

Cindy Jones
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic