How can I calculate the width and h开发者_如何转开发eight of an image in Python? I'm using the "Image" library already if that makes it easier.
Thanks.
im=Image.open(pic)
print im.size
How can I calculate the width and h开发者_如何转开发eight of an image in Python? I'm using the "Image" library already if that makes it easier.
Thanks.
im=Image.open(pic)
print im.size
精彩评论