摘要: from PIL import Image import os.path def convertjpg(jpgfile,outdir,width=100,height=100): img = Image.open('/Users/dudu/Desktop/catclass/cat/car2/sl/'+jpgfile) try: new_img = img.r... 阅读全文
posted @ 2018-04-27 22:03 DUDU1992 阅读(3535) 评论(0) 推荐(1) 编辑