Re: Compositors

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

 



On Sat, Jul 7, 2012 at 9:24 PM, Calculemus <calculemus1988@xxxxxxxxx> 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@xxxxxxxxx
> 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.
_______________________________________________
gegl-developer-list mailing list
gegl-developer-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gegl-developer-list


[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux