• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Participant ,
Apr 13, 2012 Apr 13, 2012

Copy link to clipboard

Copied

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

TOPICS
Getting started

Views

2.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 13, 2012 Apr 13, 2012

Copy link to clipboard

Copied

LATEST

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==-

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation