摘要: # -*- coding: utf-8 -*- from PIL import Image import sys # 先将 input image 填充为正方形 def fill_image(image): width, height = image.size # 选取长和宽中较大值作为新图片的 new_image_length = width if width > ... 阅读全文
posted @ 2018-07-15 21:18 徐畅同学 阅读(541) 评论(0) 推荐(0)