Skip to main content

The Pillow filter for Stack Blur.

Project description


The Stack Blur filter for Pillow.

The Stack Blur Algorithm was invented by Mario Klingemann, and described here:

This original C++ RGBA (32 bit color) multi-threaded version by Victor Laskin ( could be found here:

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


Blur the image with radius 10.

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


pip install pillow-stackblur

Please remember to install pillow before using this library.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pillow-stackblur-0.1.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

pillow_stackblur-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (14.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.5+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page