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, 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.

Source Distribution

pillow-stackblur-0.1.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distributions

pillow_stackblur-0.1.0-cp38-cp38-manylinux1_x86_64.whl (19.7 kB view hashes)

Uploaded CPython 3.8

pillow_stackblur-0.1.0-cp37-cp37m-manylinux1_x86_64.whl (23.8 kB view hashes)

Uploaded CPython 3.7m

pillow_stackblur-0.1.0-cp36-cp36m-manylinux1_x86_64.whl (22.9 kB view hashes)

Uploaded CPython 3.6m

pillow_stackblur-0.1.0-cp35-cp35m-manylinux1_x86_64.whl (22.6 kB view hashes)

Uploaded CPython 3.5m

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