[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Fwd: composite_copy
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2011-10-17 7:11:24
Message-ID: 201110170911.25204.boud () valdyas ! org
[Download RAW message or body]

On Sunday 16 October 2011 Oct, Cyrille Berger Skott wrote:
> On Sunday 16 October 2011, Boudewijn Rempt wrote:
> > Erm... Where did the ordinary composite_copy composite op go? Did we
> > disable it intentionally? We need something that just copies the dst
> > disregarding src to make things like filter layers with color to alpha
> > work.
> It is still there.

But where? the code exists, but the op is not in the combobox. The composite_copy2 \
operator is only instantiated in the addOldCompositeOps() methods which isn't called \
anywhere because it's only for testing purposes.

> But for the "color to alpha" filter, we probably need a 
> composite op that does this:
> selection * src + (1-selection) *dst (applied on all channels, colors and 
> alpha)
> 
> But that we never had (I think).
> 
> 


-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic