Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

The Pillow filter for Stack Blur.

Project description

The Stack Blur filter for Pillow.

The Stack Blur Algorithm was invented by Mario Klingemann, mario@quasimondo.com 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 (victor.laskin@gmail.com) 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. `python from PIL import Image from stackblur import StackBlur im = Image.open('img.png') im = im.filter(StackBlur(10)) im.save('blurred_img.png') `

Installation:

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.

Files for pillow-stackblur, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pillow_stackblur-0.1.0-cp35-cp35m-manylinux1_x86_64.whl (22.6 kB) File type Wheel Python version cp35 Upload date Hashes View
Filename, size pillow_stackblur-0.1.0-cp36-cp36m-manylinux1_x86_64.whl (22.9 kB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size pillow_stackblur-0.1.0-cp37-cp37m-manylinux1_x86_64.whl (23.8 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pillow_stackblur-0.1.0-cp38-cp38-manylinux1_x86_64.whl (19.7 kB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size pillow-stackblur-0.1.0.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page