Fwd: composite_copy
Boudewijn Rempt
boud at valdyas.org
Mon Oct 17 07:11:24 UTC 2011
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
More information about the kimageshop
mailing list