使用Image.crop()方法对图片进行切割。 ... coding: utf-8 -*- from PIL import Image filename = r'路径\美女.jpg' img ... 标签: python, PIL.
確定! 回上一頁