获取图片大小
Posted zhangdingqu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了获取图片大小相关的知识,希望对你有一定的参考价值。
from PIL import Image import sys img=Image.open("A8.jpg") width=img.size[0] height=img.size[1] print (width,height)
以上是关于获取图片大小的主要内容,如果未能解决你的问题,请参考以下文章