[New-bugs-announce] [issue37629] Imghdr doesnt recognise some jpeg

Pierre Chopin report at bugs.python.org
Fri Jul 19 05:50:28 EDT 2019


New submission from Pierre Chopin <pierre.chopin at chaintrust.io>:

the imghdr library only checks for the presence of (b'JFIF', b'Exif') in the header, which is excluding some valid JPEG file. This is an example of not recognised ile

----------
files: e2006bd7-51d7-4554-9738-ea13207fd104.jpg
messages: 348161
nosy: pchopin
priority: normal
severity: normal
status: open
title: Imghdr doesnt recognise some jpeg
versions: Python 3.7
Added file: https://bugs.python.org/file48491/e2006bd7-51d7-4554-9738-ea13207fd104.jpg

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


More information about the New-bugs-announce mailing list