Bad JPEG files and PicShow

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects 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: 2429
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 Projects

Who is online

Users browsing this forum: No registered users and 4 guests

cron