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
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
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:
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