how to get the size of an iamage in ptython code example
Example: python get image dimensions
from PIL import Image
im = Image.open('whatever.png')
width, height = im.size
from PIL import Image
im = Image.open('whatever.png')
width, height = im.size