mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-04 21:23:10 +03:00
Updated syntax
This commit is contained in:
parent
0c4f11a603
commit
1acc32d1d9
|
@ -364,11 +364,10 @@ The :py:meth:`~PIL.Image.open` method may set the following
|
||||||
The :py:meth:`~PIL.Image.Image.save` method supports the following options:
|
The :py:meth:`~PIL.Image.Image.save` method supports the following options:
|
||||||
|
|
||||||
**quality**
|
**quality**
|
||||||
|
|
||||||
The image quality, on a scale from 0 (worst) to 95 (best), or the string
|
The image quality, on a scale from 0 (worst) to 95 (best), or the string
|
||||||
`"keep"`. The default is 75. Values above 95 should be avoided; 100 disables
|
``keep``. The default is 75. Values above 95 should be avoided; 100 disables
|
||||||
portions of the JPEG compression algorithm, and results in large files with
|
portions of the JPEG compression algorithm, and results in large files with
|
||||||
hardly any gain in image quality. The value `"keep"` is only valid for JPEG
|
hardly any gain in image quality. The value ``keep`` is only valid for JPEG
|
||||||
files and will retain the original image quality level, subsampling, and
|
files and will retain the original image quality level, subsampling, and
|
||||||
quantization tables.
|
quantization tables.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user