The Pillow filter for Stack Blur.
Project description
pillow-stackblur
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for pillow_stackblur-0.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 500f04ee3f05c3259339025c0cbb2340b858305b768b4e1dfb3e2987dacabb4f |
|
MD5 | 4a9adb7fb326beb9bc9fcb9740a9a18d |
|
BLAKE2b-256 | bfcb50162a9f5af2b13ae6c0bcacaeaf26ed43b814d4db036a89242ad4eab01a |