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.

classification
Title: imghdr: Support detecting heif
Type: Stage: resolved
Components: Versions: Python 3.9
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: corona10, rhettinger
Priority: low Keywords:

Created on 2019-09-14 13:19 by corona10, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg352428 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2019-09-14 13:19
I've found that imghdr does not detect HEIF type yet.
I'd like to propose adding to detect HEIF type.

There's already real-life usage within HEIF
(https://help.dropbox.com/en-es/installs-integrations/mobile/ios-formats)

And also we can find a bunch of HEIF related programming issue such as Stack Overflow.
IMHO, supporting the detecting HEIF type is not a bad idea.

I want to hear core developers' opinion about this issue.


reference: https://github.com/strukturag/libheif/issues/83#issuecomment-421427091
msg352430 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2019-09-14 13:38
https://mpeg.chiariglione.org/standards/mpeg-h/image-file-format
msg352435 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2019-09-14 15:01
Oh.. but PEP 594 is planning to remove imghdr.
(https://www.python.org/dev/peps/pep-0594)
It looks like that adding a new feature is not proper.
I close this issue because of PEP 594
History
Date User Action Args
2022-04-11 14:59:20adminsetgithub: 82351
2019-09-14 15:01:49corona10setstatus: open -> closed
resolution: wont fix
messages: + msg352435

stage: resolved
2019-09-14 13:38:37corona10setmessages: + msg352430
2019-09-14 13:19:47corona10create