mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Added import to docs [ci skip]
This commit is contained in:
parent
5c0580adc2
commit
3e99ef8a43
|
@ -523,6 +523,7 @@ This is only available for JPEG and MPO files.
|
|||
|
||||
::
|
||||
|
||||
from PIL import Image
|
||||
from __future__ import print_function
|
||||
im = Image.open(file)
|
||||
print("original =", im.mode, im.size)
|
||||
|
|
Loading…
Reference in New Issue
Block a user