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
Built Distributions
Hashes for pillow_stackblur-0.1.0-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6f0e0281d441b32c8802d2212c8fa5b690a714d9746ff7c5df31cadfd37341b |
|
MD5 | 28ef29d1399e6a04c0c89f62dbf014f6 |
|
BLAKE2b-256 | 9a2eb5ea5dde986d18fbcc6ad163a7cf68d788b359567c2d113ab9e5d03594e3 |
Hashes for pillow_stackblur-0.1.0-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 126540ccabf77de1a6b77428add4d51064c9ef4224cf02b759a070ccabf17ba0 |
|
MD5 | cbe1499d232db460189ce8587c589d5e |
|
BLAKE2b-256 | 559f81453c5488e2c8239016800b2c41f3986f7386e1f8bb19ace8a8c18df65c |
Hashes for pillow_stackblur-0.1.0-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc9abc693aeb79586a7c97abf8c13e20e5cac5a49201557609af208963044d3 |
|
MD5 | fc564827366c2d7583a6a4964d61887c |
|
BLAKE2b-256 | 612806ea4e3aca8a533264e87e254854e9c8521c0c4263b61da7aefe844307a2 |
Hashes for pillow_stackblur-0.1.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 302894332415f24f752252f09e011667d8a9d6cc4e002b47fb9128078d62d6b0 |
|
MD5 | b63ca91ddd9eecfac33e24f13b47b248 |
|
BLAKE2b-256 | 34ae6e4d9fa8d4df6ecd14e96eb8e32211fc1486d7c8d4bacf665f1c056e2dd7 |