from magickfoo import Image

image = Image('favicon.ico')
image.convert(size=(16, 16), depth=8)
image.save('favicon.png')
Beispiel #2
0
from magickfoo import Image

image = Image('foo.jpg')
image.format = 'PNG'
image.flip()
image.save('flip.png')
from magickfoo import Image

image = Image('favicon.ico')
image.convert(size=(16,16),depth=8)
image.save('favicon.png')