Skip to content

Commit

Permalink
chore(docs): update quality and speed with correct defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Dec 13, 2024
1 parent f5dc957 commit 8d77678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/handbook/image-file-formats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ as 8-bit RGB(A).
The :py:meth:`~PIL.Image.Image.save` method supports the following options:

**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
controls the ``qmin`` and ``qmax`` encoder options.

Expand All @@ -1364,7 +1364,7 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
* ``4:4:4``

**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**
YUV range, either "full" or "limited". Defaults to "full"
Expand Down

0 comments on commit 8d77678

Please sign in to comment.