New submission from Joril:

imghdr doesn't support jpegs that include an ICC Profile.
This is because imghdr looks for "JFIF" somewhere at the beginning of the file, 
but the ICC_PROFILE shifts that further.
(The ICC spec is here http://www.color.org/specification/ICC1v43_2010-12.pdf, 
annex B)

----------
files: peanuts15.jpg
messages: 175984
nosy: joril
priority: normal
severity: normal
status: open
title: imghdr doesn't support jpegs with an ICC profile
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file28046/peanuts15.jpg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16512>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to