[New-bugs-announce] [issue43194] Add JFXX as jpeg marker in imghdr module

JiKwon Kim report at bugs.python.org
Wed Feb 10 09:37:21 EST 2021


New submission from JiKwon Kim <elbarkwon at gmail.com>:

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)

----------
components: Library (Lib)
messages: 386782
nosy: elbarkwon
priority: normal
pull_requests: 23291
severity: normal
status: open
title: Add JFXX as jpeg marker in imghdr module
type: enhancement
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43194>
_______________________________________


More information about the New-bugs-announce mailing list