mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Image.thumbnail docstring: added Image.BOX filter
[ci skip] updated docstring of Image.thumbnail to include Image.BOX filter as a resampling option.
This commit is contained in:
parent
0ccb28088f
commit
9cdfb296e5
|
@ -2273,7 +2273,7 @@ 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`, or :py:data:`PIL.Image.LANCZOS`.
|
||||
: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`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user