mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
Removed print statements.
This commit is contained in:
parent
299c278e66
commit
9b5bc2012f
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user