[issue21230] imghdr does not accept adobe photoshop mime type

2014-06-12 Thread Claudiu Popa
Claudiu Popa added the comment: Issue issue16512 has a patch which will recognize this format of JPEG, as well as others. -- nosy: +Claudiu.Popa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21230

[issue21230] imghdr does not accept adobe photoshop mime type

2014-06-12 Thread R. David Murray
R. David Murray added the comment: Closing this in favor of issue 16512, which I will expand to include this case. -- resolution: - duplicate stage: - resolved status: open - closed superseder: - imghdr doesn't support jpegs with an ICC profile

[issue21230] imghdr does not accept adobe photoshop mime type

2014-04-18 Thread R. David Murray
R. David Murray added the comment: Well, it's 'expected' behavior in the sense that we don't know about 'adobe' format. Is there some better way to detect jpeg format than to look for particular format identifiers in a specific byte position? -- type: enhancement - behavior versions:

[issue21230] imghdr does not accept adobe photoshop mime type

2014-04-14 Thread Faiz Abbasi
New submission from Faiz Abbasi: 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