Update image-file-formats.rst

Correct encoding of GIF files from run-length to LZW.
This commit is contained in:
Ray Gardner 2022-04-19 13:40:56 -06:00
parent 46ba6b51de
commit b01a2effd2

View File

@ -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``)