mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 19:45:56 +03:00
Added import [ci skip]
This commit is contained in:
parent
0e36b288dd
commit
38df9bef09
|
@ -473,8 +473,8 @@ Reading from a string
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
from PIL import Image
|
||||||
import StringIO
|
import StringIO
|
||||||
|
|
||||||
im = Image.open(StringIO.StringIO(buffer))
|
im = Image.open(StringIO.StringIO(buffer))
|
||||||
|
|
||||||
Note that the library rewinds the file (using ``seek(0)``) before reading the
|
Note that the library rewinds the file (using ``seek(0)``) before reading the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user