[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] image.load() works for some Jpeg's, but not others.
Hi there,
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().
(Windows, Python 2.5.2, Pygame 1.9.1)
Thoughts?
Thanks,
Sandy





begin:vcard
fn:Alexander "Sandy" Walsh
n:Walsh;Alexander "Sandy"
org:Impath Networks
adr:Suite 100;;42 Payzant Ave;Halifax;NS;B3B 1Z6;Canada
email;internet:swalsh@xxxxxxxxxxxxxxxxxx
title:Software Developer
tel;work:902-468-1010 x 246
x-mozilla-html:FALSE
url:http://www.impathnetworks.com
version:2.1
end:vcard