Added import to docs [ci skip]

This commit is contained in:
Andrew Murray 2016-09-29 20:11:38 +10:00
parent 5c0580adc2
commit 3e99ef8a43

View File

@ -523,6 +523,7 @@ This is only available for JPEG and MPO files.
:: ::
from PIL import Image
from __future__ import print_function from __future__ import print_function
im = Image.open(file) im = Image.open(file)
print("original =", im.mode, im.size) print("original =", im.mode, im.size)