Sorted TIFF compression methods alphabetically [ci skip]

This commit is contained in:
Andrew Murray 2021-03-17 17:54:37 +11:00
parent dd097fe1fd
commit 8f37f8dcb0

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_lzw"``, ``"jpeg"``, ``"tiff_adobe_deflate"``, ``"tiff_raw_16"``,
``"packbits"``, ``"tiff_thunderscan"``, ``"tiff_deflate"``, ``"tiff_sgilog"``,
``"tiff_sgilog24"``, ``"lzma"``, ``"zstd"``, ``"webp"``
methods are: :data:`None`, ``"group3"``, ``"group4"``, ``"jpeg"``, ``"lzma"``,
``"packbits"``, ``"tiff_adobe_deflate"``, ``"tiff_ccitt"``, ``"tiff_deflate"``,
``"tiff_lzw"``, ``"tiff_raw_16"``, ``"tiff_sgilog"``, ``"tiff_sgilog24"``,
``"tiff_thunderscan"``, ``"webp"`, ``"zstd"``
**quality**
The image quality for JPEG compression, on a scale from 0 (worst) to 100