From 5a902bf8a2513be8a599a7cadb725b1365bdd432 Mon Sep 17 00:00:00 2001 From: linnil1 Date: Tue, 31 Jan 2017 03:55:49 +0800 Subject: [PATCH] Add dispoal description in documents --- docs/handbook/image-file-formats.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index 130d15908..382942b46 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -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 ~~~~~~~~~~~~~~~~~~~~