Skip to main content
Inspiring
November 11, 2013
Answered

image.ICC APP2 encountered without prior JFIF!

  • November 11, 2013
  • 1 reply
  • 1726 views

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?

    This topic has been closed for replies.
    Correct answer Robin James

    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.

    1 reply

    Robin JamesAuthorCorrect answer
    Inspiring
    November 14, 2013

    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.