📅  最后修改于: 2022-03-11 14:59:42.585000             🧑  作者: Mango
image = Image.open('demo_image.jpg')
image.thumbnail((400, 400))
image.save('image_thumbnail.jpg')
print(image.size) # Output: (400, 267)