mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 09:23:11 +03:00
Merge pull request #5336 from radarhere/compression
Updated list of TIFF compression methods
This commit is contained in:
commit
4da2fb3408
|
@ -876,10 +876,10 @@ The :py:meth:`~PIL.Image.Image.save` method can take the following keyword argum
|
||||||
**compression**
|
**compression**
|
||||||
A string containing the desired compression method for the
|
A string containing the desired compression method for the
|
||||||
file. (valid only with libtiff installed) Valid compression
|
file. (valid only with libtiff installed) Valid compression
|
||||||
methods are: :data:`None`, ``"tiff_ccitt"``, ``"group3"``,
|
methods are: :data:`None`, ``"group3"``, ``"group4"``, ``"jpeg"``, ``"lzma"``,
|
||||||
``"group4"``, ``"tiff_jpeg"``, ``"tiff_adobe_deflate"``,
|
``"packbits"``, ``"tiff_adobe_deflate"``, ``"tiff_ccitt"``, ``"tiff_lzw"``,
|
||||||
``"tiff_thunderscan"``, ``"tiff_deflate"``, ``"tiff_sgilog"``,
|
``"tiff_raw_16"``, ``"tiff_sgilog"``, ``"tiff_sgilog24"``, ``"tiff_thunderscan"``,
|
||||||
``"tiff_sgilog24"``, ``"tiff_raw_16"``
|
``"webp"`, ``"zstd"``
|
||||||
|
|
||||||
**quality**
|
**quality**
|
||||||
The image quality for JPEG compression, on a scale from 0 (worst) to 100
|
The image quality for JPEG compression, on a scale from 0 (worst) to 100
|
||||||
|
|
Loading…
Reference in New Issue
Block a user