From b01a2effd2a719fb094bcef7c471b05c07c48dfa Mon Sep 17 00:00:00 2001 From: Ray Gardner Date: Tue, 19 Apr 2022 13:40:56 -0600 Subject: [PATCH] Update image-file-formats.rst Correct encoding of GIF files from run-length to LZW. --- docs/handbook/image-file-formats.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index e5082cf09ee..c02965a05fc 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -101,7 +101,7 @@ GIF ^^^ Pillow reads GIF87a and GIF89a versions of the GIF file format. The library -writes run-length encoded files in GIF87a by default, unless GIF89a features +writes LZW encoded files in GIF87a by default, unless GIF89a features are used or GIF89a is already in use. GIF files are initially read as grayscale (``L``) or palette mode (``P``)