Re: one corrupted image and imagecreatefromjpeg
| From: | Daniel | Date: | Thu, 19 Jun 2003 09:50:00 +0000 |
| Subject: | Re: one corrupted image and imagecreatefromjpeg | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152135@lists.php.net to get a copy of this message | ||
Since it seems noone has an easy answer for this, I thought I'd give advise
to find it manually a little quicker.
How about moving half the images to another directory and check if the bad
jpeg is among the remaining half, then remove half of those, then half of
those, etc. You should be able to find it fairly quickly even though you
have thousands of pictures.
=)
"Hatem Ben" <reflex_news@yahoo.fr> wrote in message
news:001601c335da$14294ee0$9c64a8c0@a8j7w2...
Hey all,
I have one corrupted image in a list of thoughsand of images, and the
program stop with this message
Corrupt JPEG data: bad huffman code
Any idea to ignore this image and continue ? i cannot detect which image is
corrupted and imagecreatefromjpeg return true
thank you,
Hatem