Add dispoal description in documents

This commit is contained in:
linnil1 2017-01-31 03:55:49 +08:00 committed by wiredfool
parent 4d8d59534f
commit 5a902bf8a2

View File

@ -132,6 +132,14 @@ are available::
the palette can be passed in as an
:py:class:`PIL.ImagePalette.ImagePalette` object.
**disposal**
Indicates the way in which the graphic is to be treated after being displayed.
* 0 - No disposal specified.
* 1 - Do not dispose.
* 2 - Restore to background color.
* 3 - Restore to previous content.
Reading local images
~~~~~~~~~~~~~~~~~~~~