[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/issue16

[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.or

[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: