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" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php