Skip to content

JonesChi/pillow-stackblur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pillow-stackblur

The Stack Blur filter for Pillow.

The Stack Blur Algorithm was invented by Mario Klingemann, [email protected] and described here: http://incubator.quasimondo.com/processing/fast_blur_deluxe.php

This original C++ RGBA (32 bit color) multi-threaded version by Victor Laskin ([email protected]) could be found here: http://vitiy.info/stackblur-algorithm-multi-threaded-blur-for-cpp

The python implementation is porting from C++ multi-threaded version. And wrap the implementation as a filter for pillow.

Example:

Blur the image with radius 10.

from stackblur import StackBlur
from PIL import Image
im = Image.open('img.png')
im = im.filter(StackBlur(10))
im.save('blurred_img.png')

Installation:

Install via setup tools:

./setup.py install

Install via PIP:

pip install -e git://github.com/JonesChi/pillow-stackblur.git#egg=pillow-stackblur

Please remember to install pillow before using this library.

About

The Stack Blur filter for Python Pillow (PIL)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published