from __future__ import * 17.6.2004

2004-06-17

Checking the current directory for progressive JPEGs

This is a quick hack, you'll need PIL with JPEG support installed to use it.

import glob, Image
print '\n'.join([fn for fn in glob.glob('*.jpg') if Image.open(fn).info.get('progression')])
posted at 18:13:20    #    comment []    trackback []
June
MoTuWeThFrSaSu
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
282930    
May Jul

Bob's Rants

XML-Image Letterimage

© 2004, Bob Ippolito