Audio (343) Datatype (51) Demo (203) Development (600) Document (22) Driver (97) Emulation (148) Game (1005) Graphics (499) Library (116) Network (233) Office (66) Utility (930) Video (69)
Total files: 4382
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
[Back to readme page] [Add Comment] [Refresh page]
Comment by: Petrol (81.80.55.177) | At: 03 Mar 2020, 11:32 | File version: 1.1.7 | Hi, I've trued to apply differents gaussian blur to a picture via the imagefilter module and the results were allways the same blur effect. I looked into the imagefilter.py file : # Gaussian blur filter. class GaussianBlur(Filter): name = "GaussianBlur" def __init__(self, radius=2): self.radius = 2 def filter(self, image): return image.gaussian_blur(self.radius) So I replaced this line in order to apply a custom radius to the GaussianBlur filter: self.radius = 2 by self.radius = radius Regards,
| | |
|