📜  python图像处理和调整大小 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:42.585000             🧑  作者: Mango

代码示例1
image = Image.open('demo_image.jpg')
image.thumbnail((400, 400))
image.save('image_thumbnail.jpg')

print(image.size) # Output: (400, 267)