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 elbarkwon
Recipients elbarkwon
Date 2021-02-10.14:37:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1612967841.33.0.0362829630893.issue43194@roundup.psfhosted.org>
In-reply-to
Content
Currently imghdr module only finds "JFIF" or "Exif" in specific position. However there's some jpeg images with "JFXX" marker. I had some image with this marker and imghdr.what() returned None.

Refer to:
https://www.ecma-international.org/wp-content/uploads/ECMA_TR-98_1st_edition_june_2009.pdf
(Section 10.1 JFIF Extension APP0 Marker Segment)
History
Date User Action Args
2021-02-10 14:37:21elbarkwonsetrecipients: + elbarkwon
2021-02-10 14:37:21elbarkwonsetmessageid: <1612967841.33.0.0362829630893.issue43194@roundup.psfhosted.org>
2021-02-10 14:37:21elbarkwonlinkissue43194 messages
2021-02-10 14:37:21elbarkwoncreate