blur & masks

Dmitry Kazakov dimula73 at gmail.com
Wed Sep 30 21:45:06 CEST 2009


On Wed, Sep 30, 2009 at 11:17 PM, Boudewijn Rempt <boud at valdyas.org> wrote:

> On Wednesday 30 September 2009, Cyrille Berger wrote:
> > On Wednesday 30 September 2009, Boudewijn Rempt wrote:
> > > Hi,
> > >
> > > Dmitry asked me to look at why the blur filter doesn't work with masks,
> > > and I think I've at least got a lead: it looks like none of the
> > > convolution-based filters work with masks. Saving the src and dst
> > > paint devices in the process() method shows that dst _is_ blurred --
> > > but there is something else going on.
> >
> > the blur filter absolutely need a KisTransaction to be created prior to
> > applying the filter, is it the case ? (that said, without the
> >  kistransaction you would get garbage in the output, not nothing)
>
> Good point, I'll check that.
>

It should be placed in KisFilterMask::decorateRect(). Maybe, there are two
transactions created at once? In KisMask::apply and in
KisFilterMask::decorateRect? I don't have code to check atm.





-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20090930/e6725634/attachment.htm 


More information about the kimageshop mailing list