Or you have Getimageinfo  here :

http://ai.pjwstk.edu.pl/~majek/dump/getimageinfo.py

On 27 avr, 07:04, Tim Hoffman <[email protected]> wrote:
> HI
>
> Have a look athttp://www.pycode.com/modules/index.php?id=32&tab=download
>
> It is pure python code that detects image size from a range of formats
> and first
> it needs to work out the image format
>
> T
>
> On Apr 27, 12:42 pm, Tim Hoffman <[email protected]> wrote:
>
> > HI
>
> > Usually the content type is supplied in the post is (have a look in
> > the cgi vars) reasonably reliable.
> > There are a few pure python basic image detect modules out there too.
> > For instance Zope2 File/Image content objects
> > have a pure python image format guesser.
>
> > T
>
> > On Apr 27, 12:26 pm, MP <[email protected]> wrote:
>
> > > Hello,
>
> > > The appengine images api doesn't seem to have a way to detect image
> > > format (in PIL, the Image class has a format field).
>
> > > How do you recommend I check image format after the image is uploaded?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to