Python mendapatkan dimensi gambar
from PIL import Image
im = Image.open('whatever.png')
width, height = im.size
just-saved-you-a-stackoverflow-visit
from PIL import Image
im = Image.open('whatever.png')
width, height = im.size
img = Image.open("test.png")
img = img.size
# img.size is a tuple