chore(docs): update quality and speed with correct defaults

This commit is contained in:
Frankie Dintino 2024-12-13 10:55:25 -05:00
parent f5dc957079
commit 8d77678d02
No known key found for this signature in database
GPG Key ID: 97E295AACFBABD9E

View File

@ -1345,7 +1345,7 @@ as 8-bit RGB(A).
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**
Integer, 1-100, defaults to 90. 0 gives the smallest size and poorest Integer, 1-100, defaults to 75. 0 gives the smallest size and poorest
quality, 100 the largest and best quality. The value of this setting quality, 100 the largest and best quality. The value of this setting
controls the ``qmin`` and ``qmax`` encoder options. controls the ``qmin`` and ``qmax`` encoder options.
@ -1364,7 +1364,7 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
* ``4:4:4`` * ``4:4:4``
**speed** **speed**
Quality/speed trade-off (0=slower-better, 10=fastest). Defaults to 8. Quality/speed trade-off (0=slower-better, 10=fastest). Defaults to 6.
**range** **range**
YUV range, either "full" or "limited". Defaults to "full" YUV range, either "full" or "limited". Defaults to "full"