#生成缩略图
from PIL import Image

def main():
    image = Image.open('./res/1.jpg')
    size = 128,128
    image.thumbnail(size)
    image.show()

if __name__ == '__main__':
    main()
367761e56a1fe3443d43403e30968b3d376f907a
<mask token>

<mask token>


def main():
    image = Image.open('./res/1.jpg')
    size = 128, 128
    image.thumbnail(size)
    image.show()


<mask token>

<mask token>


def main():
    image = Image.open('./res/1.jpg')
    size = 128, 128
    image.thumbnail(size)
    image.show()


if __name__ == '__main__':
    main()

from PIL import Image


def main():
    image = Image.open('./res/1.jpg')
    size = 128, 128
    image.thumbnail(size)
    image.show()


if __name__ == '__main__':
    main()

#生成缩略图
from PIL import Image

def main():
    image = Image.open('./res/1.jpg')
    size = 128,128
    image.thumbnail(size)
    image.show()

if __name__ == '__main__':
    main()