mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 09:14:27 +03:00
design docs for file closing
This commit is contained in:
parent
1fcde0bd9f
commit
cf85e8f1c7
|
@ -64,7 +64,8 @@ Image Lifecycle
|
|||
* ``Image.Image.seek()`` in the case of multi-frame images
|
||||
(e.g. multipage TIFF and animated GIF) the image file left open so
|
||||
that seek can load the appropriate frame. When the last frame is
|
||||
read, the image file is closed, and no more seeks can occur.
|
||||
read, the image file is closed (at least in some image plugins), and
|
||||
no more seeks can occur.
|
||||
|
||||
* ``Image.Image.close()`` Closes the file pointer and destroys the
|
||||
core image object. This is used in the Pillow context manager
|
||||
|
|
Loading…
Reference in New Issue
Block a user