[issue37629] Imghdr doesnt recognise some jpeg

2019-07-19 Thread Pierre Chopin


New submission from Pierre Chopin :

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 
<https://bugs.python.org/issue37629>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37629] Imghdr doesnt recognise some jpeg

2019-07-19 Thread Pierre Chopin


Pierre Chopin  added the comment:

This is actually a duplicate of bpo-16512, i am closing this.

--
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed

___
Python tracker 
<https://bugs.python.org/issue37629>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue16512] imghdr doesn't recognize variant jpeg formats

2019-07-19 Thread Pierre Chopin


Change by Pierre Chopin :


--
pull_requests: +14651
pull_request: https://github.com/python/cpython/pull/14862

___
Python tracker 
<https://bugs.python.org/issue16512>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com