Removed print statements.

This commit is contained in:
Alastair Houghton 2014-03-24 17:13:14 +00:00
parent 299c278e66
commit 9b5bc2012f

View File

@ -275,11 +275,9 @@ if __name__ == '__main__':
import os, sys import os, sys
imf = IcnsImageFile(open(sys.argv[1], 'rb')) imf = IcnsImageFile(open(sys.argv[1], 'rb'))
for size in imf.info['sizes']: for size in imf.info['sizes']:
print size
imf.size = size imf.size = size
imf.load() imf.load()
im = imf.im im = imf.im
print im
im.save('out-%s-%s-%s.png' % size) im.save('out-%s-%s-%s.png' % size)
im = Image.open(open(sys.argv[1], "rb")) im = Image.open(open(sys.argv[1], "rb"))
im.save("out.png") im.save("out.png")