Error in creating JPEG image from source.

See all posts See thread Reply

Re: Error in creating JPEG image from source. new!
by Kirsty, 12 years, 5 months ago
Thanks for posting this thread. I process thousands of photos a month using this wonderful class, but about 1 in 500 has this same problem: won't process and says corrupted jpeg data. Based on the discussion in this thread, I was able to find a fix that worked for me. Anyone else having the same problem should try it: add this line to your php.ini file:

gd.jpeg_ignore_warning = 1

Mine was set to 0 before I changed it.Reply
Re: Error in creating JPEG image from source. new!
by colin, 12 years, 5 months ago
Thank you for your feedback. I have added your workaround to the FAQReply
Re: Error in creating JPEG image from source. new!
by dreamer, 12 years, 5 months ago
But "gd.jpeg_ignore_warning = 1" doesn't work at php4.
How about php4 ?Reply