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 kovid
Recipients 4simple-org, Claudiu.Popa, ezio.melotti, intgr, jcea, joril, kovid, mvignali, r.david.murray, vstinner
Date 2016-11-03.04:06:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478145969.29.0.845939895645.issue28591@psf.upfronthosting.co.za>
In-reply-to
Content
FYI, the uptodate version of imghdr I maintain is here:
https://github.com/kovidgoyal/calibre/blob/master/src/calibre/utils/imghdr.py

It uses memoryview for performance and can also also read image sizes from file headers for jpeg, png, gif and jpeg2000. Note that is is only tested on python 2.7

I'm afraid I dont have the time to shepherd it through your review process, but feel free to take code from it if you want to. It is licensed GPLv3 but I am willing to re-license to another license if needed, as I am the sole contributor.
History
Date User Action Args
2016-11-03 04:06:09kovidsetrecipients: + kovid, jcea, vstinner, ezio.melotti, r.david.murray, intgr, Claudiu.Popa, joril, mvignali, 4simple-org
2016-11-03 04:06:09kovidsetmessageid: <1478145969.29.0.845939895645.issue28591@psf.upfronthosting.co.za>
2016-11-03 04:06:09kovidlinkissue28591 messages
2016-11-03 04:06:08kovidcreate