[Image-SIG] "Corrupt JPEG data" messages
Mon, 10 Jul 2000 11:53:23 -0500
I've been using PIL (on NT and 98) to batch process hundreds=20
of JPEG files, mostly making thumbnails of various sizes.
I occasionaly get messages like:
Corrupt JPEG data: 32 extraneous bytes before marker 0xd9
Usually, but not always, the resulting thumbnails are messed up.
The problem is not always repeatable - I can run my script a second
time, and it processes the same files with no problem.
Also, the error message gets displayed in the console window,
even if I have stdout and stderr redirected to a file.
This makes it hard to monitor my script to find which images are bad.
Any suggestions on how to deal with this?