More on this. If I open the file with PIL first and resave it, it works with Pygame.

Hope it helps,
Sandy


Sandy Walsh wrote:
I get jpeg images from about six different IP cameras. I know there is different firmware in each of them. One of them gives a jpeg that can be read via image.load() the others all throw an unrecognized format exception. Obviously the problem is in the camera firmware, but the real problem is that windows image viewer and nearly every other application can open these files without problem. So it makes me concerned that the loader for pygame is less forgiving than these standard applications. I'm attaching a sample of the jpegs for your review. Only Cam185.jpeg can be opened by image.load().

<<attachment: swalsh.vcf>>

Reply via email to