mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-11 17:56:18 +03:00
Removed print statements.
This commit is contained in:
parent
299c278e66
commit
9b5bc2012f
|
@ -275,11 +275,9 @@ if __name__ == '__main__':
|
|||
import os, sys
|
||||
imf = IcnsImageFile(open(sys.argv[1], 'rb'))
|
||||
for size in imf.info['sizes']:
|
||||
print size
|
||||
imf.size = size
|
||||
imf.load()
|
||||
im = imf.im
|
||||
print im
|
||||
im.save('out-%s-%s-%s.png' % size)
|
||||
im = Image.open(open(sys.argv[1], "rb"))
|
||||
im.save("out.png")
|
||||
|
|
Loading…
Reference in New Issue
Block a user