From 864e95313660ee632ea9397884e951b4649a50f6 Mon Sep 17 00:00:00 2001 From: Eric Soroos Date: Fri, 5 Jan 2018 10:42:31 +0000 Subject: [PATCH] Typing: Image.transform --- src/PIL/Image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 262a3cc37..2bc20c472 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1947,9 +1947,9 @@ class Image(object): xx = [] yy = [] for x, y in ((0, 0), (w, 0), (w, h), (0, h)): - x, y = transform(x, y, matrix) - xx.append(x) - yy.append(y) + x_f, y_f = transform(x, y, matrix) + xx.append(x_f) + yy.append(y_f) nw = int(math.ceil(max(xx)) - math.floor(min(xx))) nh = int(math.ceil(max(yy)) - math.floor(min(yy)))