摘要: 1.将文件夹内图片批量旋转 import os from PIL import Image for i in os.listdir(): im=Image.open(i) im_rotate=im.transpose(Image.ROTATE_90) #逆时针旋转90度 im_rotate.save 阅读全文
posted @ 2021-07-05 19:36 yescarf 阅读(62) 评论(0) 推荐(0) 编辑