[cairo] propsal for blur-API in cairo

Leon Woestenberg leon.woestenberg at gmail.com
Wed Jun 17 13:59:00 PDT 2009


Hello,

On Wed, Jun 17, 2009 at 10:23 PM, Mirco Müller<macslow at bangang.de> wrote:
>
>        The main idea is to introduce an opaque blur-object similar to a
> gradient-pattern. You can set type and quality of it. Along those lines
> also setters and getters for the numerous values controlling each
> blur-type.
>
Nice idea, but why not a filter kernel matrix?

First Google explanation:

"A kernel filter works by applying a kernel matrix to every pixel in
the image. The kernel contains multiplication factors to be applied to
the pixel and its neighbors. Once all the values have been multiplied,
the pixel is replaced with the sum of the products. By choosing
different kernels, different types of filtering can be applied."

Regards,
-- 
Leon


More information about the cairo mailing list