mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-29 11:26:17 +03:00
add param info
This commit is contained in:
parent
1477fbc07a
commit
3d72e9828f
|
@ -1532,6 +1532,10 @@ class Image(object):
|
||||||
If omitted, or if the image has mode "1" or "P", it is
|
If omitted, or if the image has mode "1" or "P", it is
|
||||||
set :py:attr:`PIL.Image.NEAREST`.
|
set :py:attr:`PIL.Image.NEAREST`.
|
||||||
See: :ref:`concept-filters`.
|
See: :ref:`concept-filters`.
|
||||||
|
:param box: An optional 4-tuple of floats giving the region
|
||||||
|
of the source image which should be scaled.
|
||||||
|
The values should be within (0, 0, width, height) rectangle.
|
||||||
|
If omitted or None, the entire source is used.
|
||||||
:returns: An :py:class:`~PIL.Image.Image` object.
|
:returns: An :py:class:`~PIL.Image.Image` object.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user