views:

34

answers:

1

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.

+4  A: 
im=Image.open(pic) 
print im.size 
klausbyskov
Easy enough. Thanks for the fast response!
ensnare