azureblur

The triple box blur implementation from Firefox’s moz2d/Azure, with Python bindings.


License
MPL-2.0
Install
pip install azureblur==0.1

Documentation

azureblur

The triple box blur implementation from Firefox’s moz2d / Azure, with Python bindings.

This library only supports 2D raster images with a single channel of one byte per pixel. Such images are typically used as a mask that affects the alpha (transparency) channel of some other source.

See for example the code that generates the image below, using this library for blurring the shadow and the cairocffi 2D graphics library.

sample.png