Copy link to clipboard
Copied
We recently upgraded to CF10 and started getting the following error:
An exception occurred while trying to read the image.ICC APP2 encountered without prior JFIF!
<cfimage action="read" name="uploadedImage" source="#expandpath('/')#CompanyPictures\#variables.picture#">
Any ideas on this one?
1 Correct answer
I wanted to share what I figured out.
The image that was being uploaded had not been saved in the correct format, but the extension was changed. So, it turned out to be a user error. The image was originally saved as a CMYK jpeg? CFImage could not read the file properties, so the error was being returned.
Copy link to clipboard
Copied
I wanted to share what I figured out.
The image that was being uploaded had not been saved in the correct format, but the extension was changed. So, it turned out to be a user error. The image was originally saved as a CMYK jpeg? CFImage could not read the file properties, so the error was being returned.

