Added HAMMING to thumbnail docstring [ci skip]

This commit is contained in:
Andrew Murray 2020-08-27 19:55:24 +10:00
parent 70d868ef59
commit f9f492b2b1

View File

@ -2272,11 +2272,12 @@ class Image:
:param size: Requested size. :param size: Requested size.
:param resample: Optional resampling filter. This can be one :param resample: Optional resampling filter. This can be one
of :py:data:`PIL.Image.NEAREST`, :py:data:`PIL.Image.BILINEAR`, of :py:data:`PIL.Image.NEAREST`, :py:data:`PIL.Image.BOX`,
:py:data:`PIL.Image.BICUBIC`, :py:data:`PIL.Image.BOX`, or :py:data:`PIL.Image.BILINEAR`, :py:data:`PIL.Image.HAMMING`,
:py:data:`PIL.Image.LANCZOS`. If omitted, it defaults to :py:data:`PIL.Image.BICUBIC` or :py:data:`PIL.Image.LANCZOS`.
:py:data:`PIL.Image.BICUBIC`. (was :py:data:`PIL.Image.NEAREST` If omitted, it defaults to :py:data:`PIL.Image.BICUBIC`.
prior to version 2.5.0). See: :ref:`concept-filters`. (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 :param reducing_gap: Apply optimization by resizing the image
in two steps. First, reducing the image by integer times in two steps. First, reducing the image by integer times
using :py:meth:`~PIL.Image.Image.reduce` or using :py:meth:`~PIL.Image.Image.reduce` or