DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bad JPEG files and PicShow

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
rpoulin
Active Member
Active Member


Joined: 18 May 2007
Posts: 5

PostPosted: 24/05/07 02:41    Post subject: Bad JPEG files and PicShow Reply with quote

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 .
Back to top
View user's profile Send private message
Kambiz
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 1248
Location: Tehran, Iran

PostPosted: 24/05/07 12:00    Post subject: Reply with quote

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

Back to top
View user's profile Send private message Send e-mail Visit poster's website
rpoulin
Active Member
Active Member


Joined: 18 May 2007
Posts: 5

PostPosted: 27/05/07 00:40    Post subject: Reply with quote

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


Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT - 12 Hours
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group