From 3d72e9828f3c14defa8ab878b21049a3d3ec0da4 Mon Sep 17 00:00:00 2001 From: homm Date: Fri, 2 Dec 2016 03:11:02 +0300 Subject: [PATCH] add param info --- PIL/Image.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PIL/Image.py b/PIL/Image.py index 9814a7392..844f27ab5 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -1532,6 +1532,10 @@ class Image(object): If omitted, or if the image has mode "1" or "P", it is set :py:attr:`PIL.Image.NEAREST`. 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. """