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.
Release files for pillow-stackblur 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pillow-stackblur-0.1.1.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pillow_stackblur-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.5+ x86-64 | Details |
Total release size: 20.1 kB
Release files / pillow-stackblur-0.1.1.tar.gz
| Download URL | pillow-stackblur-0.1.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da59ee76760518acbcfdf6cda9c52416149ca0151264c7dd865daf793d9371e6
|
|
BLAKE2b-256 checksum How to use checksums |
281c8ff07057d9cad62ad7f675f1e8abb773ba4b47ef33c36ec91888af0bb5d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / pillow_stackblur-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | pillow_stackblur-0.1.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 14.8 kB |
| Tags | CPython 3.10 Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
eea18caae5821ef2da23844d7845aea379ad8a4fa43aa02aedbace31cb75def4
|
|
BLAKE2b-256 checksum How to use checksums |
030f2f1c684f745524d2ff6f253d8d6f4a962a2448486090c8cd384cdba9d0f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|