Re: one corrupted image and imagecreatefromjpeg

From: Date: Thu, 19 Jun 2003 10:46:34 +0000
Subject: Re: one corrupted image and imagecreatefromjpeg
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152140@lists.php.net to get a copy of this message
Try to use output buffer. Turn buffering on, and after each imagecreatefromjpeg() call check to see if there is some output waiting. Hatem Ben wrote:
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


« previous php.general (#152140) next »