Re: [PHP] one corrupted image and imagecreatefromjpeg

2003-06-19 Thread Marek Kilimajer
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






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] one corrupted image and imagecreatefromjpeg

2003-06-18 Thread Hatem Ben
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