[Patches] [ python-Patches-751031 ] imghdr -- identify JPEGs in EXIF format

SourceForge.net noreply@sourceforge.net
Sun, 08 Jun 2003 13:08:39 -0700


Patches item #751031, was opened at 2003-06-08 14:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=751031&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Steven Taschuk (staschuk)
Assigned to: Nobody/Anonymous (nobody)
Summary: imghdr -- identify JPEGs in EXIF format

Initial Comment:
Someone posted to c.l.py [1] about some of their JPEGs not
being identified as such by imghdr.  Turns out they were 
EXIF files, and imghdr only identifies JFIF files.  A little web 
research suggests EXIF is the usual format for JPEGS from 
digital cameras.

The patch adds the ability to identify such files; they are 
reported as 'jpeg-exif'.  I've no idea whether this is the 
Right Thing.

[1] http://groups.google.com/groups?th=45c0442a1d74e9c4

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=751031&group_id=5470