OS4 DepotLogo by invent 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 File comments for:  Development » Library » Misc » pil.lha


Description: Python Imaging Library
Download: pil.lha
Version: 1.1.7
Date: 21 Aug 2012
Category: development/library/misc
FileID: 7341
RSS Feed url: http://www.os4depot.net/modules/comments/rssfeed.php?file=development/library/misc/pil.lha

[Back to readme page]   [Add Comment]   [Refresh page]

Comment by: Petrol ( 03 Mar 2020, 11:32File version: 1.1.7

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
self.radius = radius


Copyright © 2004-2024 by Björn Hagström All Rights Reserved