Skip to content

Commit

Permalink
Merge pull request #24 from maebert/patch-1
Browse files Browse the repository at this point in the history
Radius was hardcoded to 2.
  • Loading branch information
aclark4life committed Dec 7, 2012
2 parents 7c34316 + 4e397a4 commit 0b06bdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PIL/ImageFilter.py
Expand Up @@ -157,7 +157,7 @@ class GaussianBlur(Filter):
name = "GaussianBlur"

def __init__(self, radius=2):
self.radius = 2
self.radius = radius
def filter(self, image):
return image.gaussian_blur(self.radius)

Expand All @@ -168,7 +168,7 @@ class UnsharpMask(Filter):
name = "UnsharpMask"

def __init__(self, radius=2, percent=150, threshold=3):
self.radius = 2
self.radius = radius
self.percent = percent
self.threshold = threshold
def filter(self, image):
Expand Down

0 comments on commit 0b06bdc

Please sign in to comment.