Audio (340) Datatype (50) Demo (203) Development (590) Document (22) Driver (100) Emulation (146) Game (982) Graphics (490) Library (112) Network (228) Office (64) Utility (903) Video (67)
Total files: 4297
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,
| | |
|