← Back to team overview

phatch-dev team mailing list archive

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

 

This is only present in PIL 1.1.7

http://svn.effbot.org/public/tags/pil-1.1.7a1-20090317/PIL/ImageFilter.py

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

** Changed in: phatch
     Assignee: (unassigned) => stani (stani)

-- 
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!: Invalid

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