mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 17:54:32 +03:00
Merge pull request #6067 from radarhere/subsampling
Corrected JPEG subsampling documentation
This commit is contained in:
commit
e5fa767024
|
@ -381,11 +381,12 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
|
|||
|
||||
* ``keep``: Only valid for JPEG files, will retain the original image setting.
|
||||
* ``4:4:4``, ``4:2:2``, ``4:2:0``: Specific sampling values
|
||||
* ``-1``: equivalent to ``keep``
|
||||
* ``0``: equivalent to ``4:4:4``
|
||||
* ``1``: equivalent to ``4:2:2``
|
||||
* ``2``: equivalent to ``4:2:0``
|
||||
|
||||
If absent, the setting will be determined by libjpeg or libjpeg-turbo.
|
||||
|
||||
**qtables**
|
||||
If present, sets the qtables for the encoder. This is listed as an
|
||||
advanced option for wizards in the JPEG documentation. Use with
|
||||
|
|
Loading…
Reference in New Issue
Block a user