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.

Author mohamadmansourx
Recipients mohamadmansourx
Date 2021-06-30.08:12:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1625040766.45.0.209799652803.issue44539@roundup.psfhosted.org>
In-reply-to
Content
Previous method to check JPG images was using the following command (h[6:10] in (b'JFIF', b'Exif'))
However, its not always the case as some might start with b'\xff\xd8\xff\xdb' header.
Reference:
https://www.digicamsoft.com/itu/itu-t81-36.html
https://web.archive.org/web/20120403212223/http://class.ee.iastate.edu/ee528/Reading%20material/JPEG_File_Format.pdf
History
Date User Action Args
2021-06-30 08:12:46mohamadmansourxsetrecipients: + mohamadmansourx
2021-06-30 08:12:46mohamadmansourxsetmessageid: <1625040766.45.0.209799652803.issue44539@roundup.psfhosted.org>
2021-06-30 08:12:46mohamadmansourxlinkissue44539 messages
2021-06-30 08:12:46mohamadmansourxcreate