| View previous topic :: View next topic |
| Author |
Message |
rpoulin Active Member

Joined: 18 May 2007 Posts: 5
|
Posted: 24/05/07 02:41 Post subject: Bad JPEG files and PicShow |
|
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 . |
|
|
|
|
|
 |
Kambiz Administrator


Joined: 07 Mar 2003 Posts: 1248 Location: Tehran, Iran
|
Posted: 24/05/07 12:00 Post subject: |
|
Load the picture inside a try except block. If exception occurs, the image is corrupted. |
_________________ Kambiz
 |
|
|
|
 |
rpoulin Active Member

Joined: 18 May 2007 Posts: 5
|
Posted: 27/05/07 00:40 Post subject: |
|
| Kambiz wrote: |
| Load the picture inside a try except block. If exception occurs, the image is corrupted. |
Thanks. |
|
|
|
|
|
 |
|