Reputation: 42013
How can I calculate the width and height of an image in Python? I'm using the "Image" library already if that makes it easier.
Thanks.
Upvotes: 1
Views: 657
Reputation: 120917
im=Image.open(pic) print im.size
Upvotes: 5