From 630265f79a91205f4e1a9c1eef6e51d219af184c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Apr 2025 08:33:29 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/handbook/image-file-formats.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index a557207f1..d2c1ce6d6 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -557,7 +557,7 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options: 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 qtables. - For more information on how qtables are modified based on the quality parameter, + For more information on how qtables are modified based on the quality parameter, see the qtables section. **optimize** @@ -623,10 +623,10 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options: * a list, tuple, or dictionary (with integer keys = range(len(keys))) of lists of 64 integers. There must be between 2 and 4 tables. - - If a quality parameter is provided, the qtables will be adjusted accordingly. - By default, the qtables are based on a standard JPEG table with a quality of 50. - The qtable values will be reduced if the quality is higher than 50 and increased + + If a quality parameter is provided, the qtables will be adjusted accordingly. + By default, the qtables are based on a standard JPEG table with a quality of 50. + The qtable values will be reduced if the quality is higher than 50 and increased if the quality is lower than 50. .. versionadded:: 2.5.0