© 1999-2048 dssz.net 粤ICP备11031372号
[其它] python3 webp转gif格式的实现示例
说明:使用PIL库,python3安装需要使用 pip install pillow from PIL import Image import os import re imgPath = './img/' webpReg = r'webp$' def getAllFile (filePath): files = os.listdir(filePath) return files def handleConversion (fileName): fileName = imgPath + f<weixin_38742951> 上传 | 大小:27kb