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.

Title: Add JFXX as jpeg marker in imghdr module
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.10, Python 3.9
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: elbarkwon, iritkatriel
Priority: normal Keywords:

Created on 2021-02-10 14:37 by elbarkwon, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 24474 closed elbarkwon, 2021-02-10 14:37
Messages (2)
msg386782 - (view) Author: JiKwon Kim (elbarkwon) Date: 2021-02-10 14:37
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:
(Section 10.1 JFIF Extension APP0 Marker Segment)
msg415048 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2022-03-13 17:17
imghdr is deprecated as per PEP 594, so there won't be further enhancements to it.
Date User Action Args
2022-04-11 14:59:41adminsetgithub: 87360
2022-03-13 17:17:13iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg415048

resolution: wont fix
stage: resolved
2021-02-10 14:37:21elbarkwoncreate