← Back to team overview

phatch-dev team mailing list archive

[Bug 528702] Re: PIL blur is hardcoded to 2 pixels

 

** Changed in: phatch
       Status: New => Confirmed

-- 
PIL blur is hardcoded to 2 pixels
https://bugs.launchpad.net/bugs/528702
You received this bug notification because you are a member of Phatch
Developers, which is subscribed to Phatch.

Status in Phatch = Photo & Batch!: Confirmed

Bug description:
Maybe this is a simple bug in ImageFilter.GaussianBlur:

class GaussianBlur(Filter):
   name = "GaussianBlur"

   def __init__(self, radius=2):
       self.radius = 2

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

-> We need to check if other values are possible than radius=2 and if true, we should expose that in our blur action.





References