OS4 DepotLogo by Alkaron 
(anonymous IP: 3.223.3.101,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 
 Categories

   o Audio (330)
   o Datatype (47)
   o Demo (188)
   o Development (550)
   o Document (21)
   o Driver (89)
   o Emulation (143)
   o Game (886)
   o Graphics (472)
   o Library (102)
   o Network (210)
   o Office (56)
   o Utility (829)
   o Video (62)

Total files: 3985

Full index file. Download
Recent index file. Download




 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


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

Pil

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

[Back to readme page]   [Refresh page]

Comment by: Petrol (81.80.55.177)At: 03 Mar 2020, 11:32File 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,
 
 

Copyright (c) 2004-2020 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment