homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author faiz
Recipients barry, benjamin.peterson, faiz, r.david.murray
Date 2014年04月15日.01:13:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397524431.49.0.471880586962.issue21230@psf.upfronthosting.co.za>
In-reply-to
Content
Python 2.7
I noticed a recurring bug we've had attempting to send a particular JPEG image in emails:
email.mime.image.__init__
<unknown>: Could not guess image MIME subtype
After looking into the imghdr.what and tests source code, I noticed that this JPEG image begins with the following data: 
'\xff\xd8\xff\xee\x00\x0eAdobe\x00d\x00\x00\x00\x00\x00\xff\xed\x008Photoshop '
I've attached the image in question to this bug report.
There's two functions for asserting an image is JPEG format, test_jpeg and test_exif. I'd like to propose another function for resolving Adobe Photoshop image formats.
Unless, of course, this is expected behavior?
Thanks!
History
Date User Action Args
2014年04月15日 01:13:51faizsetrecipients: + faiz, barry, benjamin.peterson, r.david.murray
2014年04月15日 01:13:51faizsetmessageid: <1397524431.49.0.471880586962.issue21230@psf.upfronthosting.co.za>
2014年04月15日 01:13:51faizlinkissue21230 messages
2014年04月15日 01:13:50faizcreate

AltStyle によって変換されたページ (->オリジナル) /