Message220346
FYI, the test I currently use in calibre, which has not failed so far for millions of users:
def test_jpeg(h, f):
if (h[6:10] in (b'JFIF', b'Exif')) or (h[:2] == b'\xff\xd8' and (b'JFIF' in h[:32] or b'8BIM' in h[:32])):
return 'jpeg' |
|
Date |
User |
Action |
Args |
2014-06-12 13:09:27 | kovid | set | recipients:
+ kovid, jcea, vstinner, ezio.melotti, intgr, Claudiu.Popa, joril |
2014-06-12 13:09:27 | kovid | set | messageid: <1402578567.78.0.163307936651.issue16512@psf.upfronthosting.co.za> |
2014-06-12 13:09:27 | kovid | link | issue16512 messages |
2014-06-12 13:09:27 | kovid | create | |
|