From 87c3e3f250f3ec7919618f04b878be70c1eb2ce1 Mon Sep 17 00:00:00 2001 From: Cedric Porter Date: Tue, 28 Aug 2012 14:09:07 +0800 Subject: [PATCH] remove the extra parameter of transform. --- EffectLab/Effect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/EffectLab/Effect.py b/EffectLab/Effect.py index 55bb12c..950d852 100755 --- a/EffectLab/Effect.py +++ b/EffectLab/Effect.py @@ -81,10 +81,10 @@ def filter(self, im): # fill empty color data = im.transform(im.size, Image.QUAD, matrix, - Image.BILINEAR, 1) + Image.BILINEAR) mask = Image.new("L", im.size, 255) mask = mask.transform(im.size, Image.QUAD, matrix, - Image.BILINEAR, 1) + Image.BILINEAR) imout = Image.new("RGB", im.size, self.empty_color) imout.paste(data, mask)