- 博客(1)
- 收藏
- 关注
原创 python 图片批量转换代码
需要配置模块PIL(pillow) 命令行下输入 pip install pillow ** 转换代码 ** #coding:utf-8 from PIL import Image import os #图片压缩批处理 def compressImage(srcPath,dstPath): for filename in os.listdir(srcPath): ...
2020-03-14 18:26:12
256
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人