Bad JPEG files and PicShow

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

Bad JPEG files and PicShow

Postby rpoulin » May 24th, 2007, 2:41 am

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 .
rpoulin
Active Member
Active Member
 
Posts: 5
Joined: May 18th, 2007, 7:05 am

Postby Kambiz » May 24th, 2007, 12:00 pm

Load the picture inside a try except block. If exception occurs, the image is corrupted.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Postby rpoulin » May 27th, 2007, 12:40 am

Kambiz wrote:Load the picture inside a try except block. If exception occurs, the image is corrupted.


Thanks.
rpoulin
Active Member
Active Member
 
Posts: 5
Joined: May 18th, 2007, 7:05 am


Return to DELPHI AREA Products

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron