Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Andrew Murray 2020-08-15 13:56:51 +10:00 committed by GitHub
parent fce34a0d7b
commit 70d868ef59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2273,8 +2273,8 @@ class Image:
:param size: Requested size.
:param resample: Optional resampling filter. This can be one
of :py:data:`PIL.Image.NEAREST`, :py:data:`PIL.Image.BILINEAR`,
:py:data:`PIL.Image.BICUBIC`, :py:data:`PIL.Image.BOX`, or
:py:data:`PIL.Image.LANCZOS`. If omitted, it defaults to
:py:data:`PIL.Image.BICUBIC`, :py:data:`PIL.Image.BOX`, or
:py:data:`PIL.Image.LANCZOS`. If omitted, it defaults to
:py:data:`PIL.Image.BICUBIC`. (was :py:data:`PIL.Image.NEAREST`
prior to version 2.5.0). See: :ref:`concept-filters`.
:param reducing_gap: Apply optimization by resizing the image