python get image dimensions

190

python get image dimensions -

from PIL import Image

im = Image.open('whatever.png')
width, height = im.size

Comments

Submit
0 Comments