python裁剪图片
from PIL import Image left = 763 top = 863 right = 1258 bottom = 962 im = Image.open("img.jpg") im = im.crop((left, top, right, bottom)) im.save("img_corp.jpg")
本文来自博客园,作者:OTAKU_nicole,转载请注明原文链接:https://www.cnblogs.com/nicole-zhang/p/14324289.html