Updated list of TIFF compression methods [ci skip]

This commit is contained in:
Andrew Murray 2021-03-17 11:14:12 +11:00
parent 8064e04e96
commit dd097fe1fd

View File

@ -876,10 +876,10 @@ The :py:meth:`~PIL.Image.Image.save` method can take the following keyword argum
**compression**
A string containing the desired compression method for the
file. (valid only with libtiff installed) Valid compression
methods are: :data:`None`, ``"tiff_ccitt"``, ``"group3"``,
``"group4"``, ``"tiff_jpeg"``, ``"tiff_adobe_deflate"``,
``"tiff_thunderscan"``, ``"tiff_deflate"``, ``"tiff_sgilog"``,
``"tiff_sgilog24"``, ``"tiff_raw_16"``
methods are: :data:`None`, ``"tiff_ccitt"``, ``"group3"``, ``"group4"``,
``"tiff_lzw"``, ``"jpeg"``, ``"tiff_adobe_deflate"``, ``"tiff_raw_16"``,
``"packbits"``, ``"tiff_thunderscan"``, ``"tiff_deflate"``, ``"tiff_sgilog"``,
``"tiff_sgilog24"``, ``"lzma"``, ``"zstd"``, ``"webp"``
**quality**
The image quality for JPEG compression, on a scale from 0 (worst) to 100