Skip to content
Switch branches/tags
Go to file
Latest commit 10874e3 Aug 4, 2016 History
1 contributor

Users who have contributed to this file

14 lines (11 sloc) 362 Bytes
from PIL import Image
import glob
for name in glob.glob('*.tif'):
im =
name = str(name).rstrip(".tif") + '.jpg', 'JPEG')
for name in glob.glob('*.tiff'):
im =
name = str(name).rstrip(".tiff") + '.jpg', 'JPEG')
print "Conversion from tif/tiff to jpg completed!"