Yet another bug. This time filters vs selections
Dmitry Kazakov
dimula73 at gmail.com
Thu Sep 10 19:24:13 CEST 2009
>
> > > > Again. That is a binary transparency iteration that is not good
> itself.
> > > We
> > > > need a full-featured transparency with 256 levels of transparency.
> > > >
> > >
> > > We have that. Apart from isSelected(), the iterator also provides
> > > selectedness() which returns those levels.
> > >
> >
> > Don't you suggest filtering layers pixel by pixel? =)
>
> Sorry, I don't follow?
>
At the moment we check whether something is selected pixel by pixel.
(while(<nextPixel> && iter->isSelected()) pixel++;)
Just imagine if we have to check every pixel which selectedness() does he
have and apply it to him. It'll leave too big footprint and will work too
slow.
--
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20090910/b21fd1d8/attachment.htm
More information about the kimageshop
mailing list