Re: [Gegl-developer] Compositors



On Sat, Jul 7, 2012 at 9:24 PM, Calculemus <calculemus1988 gmail com> wrote:
I am trying to understand the code for the compositor soft-light,
in the file /gegl-0.2.0/operations/generated/soft-light.c.

I am not sure about line 25: aD = aA + aB - aA * aB;

What is aD, is it alpha channel? Does gegl assume that the
input image buffers are RGBA?

Thanks

_______________________________________________
gegl-developer-list mailing list
gegl-developer-list gnome org
https://mail.gnome.org/mailman/listinfo/gegl-developer-list


Just above the process function you can see the prepare function which
sets input, aux and output buffers to RaGaBaA which is RGBA with
premultiplied alpha.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]