Skip to main content
Inspiring
April 13, 2012
Question

CF not reading JPG: image001.jpg - java.awt.color.CMMException: Invalid image format

  • April 13, 2012
  • 1 reply
  • 2250 views

Hi, Why does CF throw this error messag when reading some JPG images? THe same image was saved as GIF and no problem. What does it mean exactly and is there solution for it? "image001.jpg - java.awt.color.CMMException: Invalid image format" Thanks, Jenn

This topic has been closed for replies.

1 reply

Inspiring
April 13, 2012

I do not fully understand the cause, just that it is a problem within the java library CF uses to read images. Some explanations I have read suggest it is a bug related to jpeg metadata. This thread has a simple CF specific solution  ie Read in the image as binary, then pass the binary data into ImageNew().

Message was edited by: -==cfSearching==-