标签:pen pre class sys span port open nbsp div
from PIL import Image import sys img=Image.open("A8.jpg") width=img.size[0] height=img.size[1] print (width,height)
获取图片大小
原文地址:https://www.cnblogs.com/zhangdingqu/p/9746769.html