In GEGL, the layer mode code is autogenerated from formula strings -- see operations/generated/math.rb
The opacity behaviour is not documented there, but my understanding is that the alpha of the underlying composite is preserved, and opacity only effects how much of the layer's COLOR channels are applied (per the standard blending formula). On Fri, Sep 16, 2011 at 7:09 AM, Ofnuts <ofn...@laposte.net> wrote: > I'll trying to find out what happens when a layer is in subtract mode > with a global opacity not one or zero (i.e. what computations are done > with the pixels values of the composite image of the layers below, the > pixel values of the layer, and the general opacity). I have a git > extract of the Gimp source code (and of gegl & babl) but got lost... Can > someone help? > _______________________________________________ > Gimp-developer mailing list > Gimp-developer@lists.XCF.Berkeley.EDU > https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer >
_______________________________________________ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer