From af11b908cff54946a63c014692d32bdc2bb3b321 Mon Sep 17 00:00:00 2001 From: David Schmidt Date: Fri, 10 Jan 2014 18:27:43 +0100 Subject: [PATCH] Update Image.py docs update/fixes --- PIL/Image.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PIL/Image.py b/PIL/Image.py index 87631d6f7..0ab0367f7 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -804,6 +804,8 @@ class Image: def draft(self, mode, size): """ + NYI + Configures the image file loader so it returns a version of the image that as closely as possible matches the given mode and size. For example, you can use this method to convert a color @@ -1299,7 +1301,7 @@ class Image: :param size: The requested size in pixels, as a 2-tuple: (width, height). - :param filter: An optional resampling filter. This can be + :param resample: An optional resampling filter. This can be one of :py:attr:`PIL.Image.NEAREST` (use nearest neighbour), :py:attr:`PIL.Image.BILINEAR` (linear interpolation in a 2x2 environment), :py:attr:`PIL.Image.BICUBIC` (cubic spline