Oops, make sure to import PIL:

from PIL import Image

Reply via email to