Pil mendapatkan ukuran 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
image = PIL.Image.open("sample.png")
width, height = image.size