Skip to content

Commit

Permalink
remove the extra parameter of transform.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricporter committed Aug 28, 2012
1 parent fb19dfd commit 87c3e3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EffectLab/Effect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 87c3e3f

Please sign in to comment.