From d212808e3db1934ad602e3bd4b7903a0251b4e23 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 27 Jan 2018 16:19:02 +1100 Subject: [PATCH] Fixed typo --- src/PIL/Image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 8d4d9c8a8..1a763b653 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1457,7 +1457,7 @@ class Image(object): """ Maps this image through a lookup table or function. - :param lut: A lookup table, containing 256 (or 65336 if + :param lut: A lookup table, containing 256 (or 65536 if self.mode=="I" and mode == "L") values per band in the image. A function can be used instead, it should take a single argument. The function is called once for each @@ -2102,7 +2102,7 @@ class Image(object): in the output image. :returns: An :py:class:`~PIL.Image.Image` object. """ - + if self.mode == 'LA': return self.convert('La').transform( size, method, data, resample, fill).convert('LA')