Skip to content

Commit ccd9a97

Browse files
authored
Merge pull request #4576 from hugovk/docs-link-to-filters
Link to Filters concept from methods' parameters
2 parents 394f7a0 + d21e455 commit ccd9a97

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/PIL/Image.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,6 +2247,7 @@ def thumbnail(self, size, resample=BICUBIC, reducing_gap=2.0):
22472247
:py:attr:`PIL.Image.BICUBIC`, or :py:attr:`PIL.Image.LANCZOS`.
22482248
If omitted, it defaults to :py:attr:`PIL.Image.BICUBIC`.
22492249
(was :py:attr:`PIL.Image.NEAREST` prior to version 2.5.0).
2250+
See: :ref:`concept-filters`.
22502251
:param reducing_gap: Apply optimization by resizing the image
22512252
in two steps. First, reducing the image by integer times
22522253
using :py:meth:`~PIL.Image.Image.reduce` or
@@ -2336,6 +2337,7 @@ def getdata(self):
23362337
environment), or :py:attr:`PIL.Image.BICUBIC` (cubic spline
23372338
interpolation in a 4x4 environment). If omitted, or if the image
23382339
has mode "1" or "P", it is set to :py:attr:`PIL.Image.NEAREST`.
2340+
See: :ref:`concept-filters`.
23392341
:param fill: If **method** is an
23402342
:py:class:`~PIL.Image.ImageTransformHandler` object, this is one of
23412343
the arguments passed to it. Otherwise, it is unused.

0 commit comments

Comments
 (0)