Page 1 of 1

Bad JPEG files and PicShow

PostPosted: May 24th, 2007, 2:41 am
by rpoulin
Sometimes, when picshow is displaying jpg files, it may enconters a bad jpeg file. It then stop showing. How could we bypass this error? May be filtering the images before the show ... Any idea how to do it? Thanks .

PostPosted: May 24th, 2007, 12:00 pm
by Kambiz
Load the picture inside a try except block. If exception occurs, the image is corrupted.

PostPosted: May 27th, 2007, 12:40 am
by rpoulin
Kambiz wrote:Load the picture inside a try except block. If exception occurs, the image is corrupted.


Thanks.