from PIL import Image im = Image.open('22.gif')
print(im.format, im.size, im.mode) im.thumbnail((200, 100))
im.save('thumb.gif', 'GIF')
2022-10-16 17:41:30
from PIL import Image im = Image.open('22.gif')
print(im.format, im.size, im.mode) im.thumbnail((200, 100))
im.save('thumb.gif', 'GIF')