mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 13:40:54 +03:00
Updated docstring
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
40eceec70d
commit
91b3a9d6a1
|
@ -241,10 +241,10 @@ def contain(image, size, method=Image.BICUBIC):
|
|||
Returns a sized version of the image, expanded to fill the requested aspect ratio
|
||||
and size.
|
||||
|
||||
:param image: The image to size and crop.
|
||||
:param image: The image to resize and crop.
|
||||
:param size: The requested output size in pixels, given as a
|
||||
(width, height) tuple.
|
||||
:param method: What resampling method to use. Default is
|
||||
:param method: Resampling method to use. Default is
|
||||
:py:attr:`PIL.Image.BICUBIC`. See :ref:`concept-filters`.
|
||||
:return: An image.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user