Obter largura e altura da imagem

import sys
sys
.path.append("/usr/local/lib/python2.7/site-packages")
from PIL import Image

image_file
= "french_flag.bmp"
img
= Image.open(image_file)

width
, height = img.size # get the image's width and height in pixels

Voila!