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

Python tracker <>
Python-bugs-list mailing list

Reply via email to