Just merged this onto MyPaint's master branch sorry for the delay. Sample image and output:
https://github.com/mypaint/mypaint/issues/181#issuecomment-94327844 I'll update the OpenRaster spec shortly. On 10 April 2015 at 00:20, Andrew Chadwick <[email protected]> wrote: > Certainly! I'll press ahead and test the contributed code out this > weekend, and update the spec unless anyone has any objections. > > I'll bump the version to 0.0.5 as well. Heady heights... > > On 7 April 2015 at 13:49, Joao S. O. Bueno <[email protected]> wrote: >> No objections from me -- >> >> Can I ask you to post links here to example images after this is done? >> (both .ora files and PNG final rendering, please :-) ) >> >> I could probably have this ported into GIMP reading of ORA's >> (I will probably have to expand these clipping layers as layer masks >> for the time being) >> ( of course, there is no promise for writing this as it is not a GIMP >> feature as of yet). >> >> js >> -><- >> >> On 7 April 2015 at 05:58, Andrew Chadwick <[email protected]> wrote: >>> Hi, CREATE-friends -- >>> >>> We'd like to add support for the "Destination Atop" and (especially) >>> "Source Atop" compositing modes in MyPaint, to allow users to make >>> groups clipped by their bottom layer's alpha. Use case: add shadows >>> and highlighting without having to create a separate masking layer set >>> to dst-in/dst-out. >>> >>> https://github.com/mypaint/mypaint/pull/284 >>> https://github.com/mypaint/mypaint/issues/181#issuecomment-89778738 >>> >>> http://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_srcatop >>> http://www.w3.org/TR/compositing-1/#porterduffcompositingoperators_dstatop >>> >>> Does anyone have any objection to "svg:src-atop" and "svg:dst-atop" >>> being added to the list at: >>> >>> https://wiki.freedesktop.org/www/Specifications/OpenRaster/Draft/LayersStack/#composite-opattribute >>> >>> The blending function for the modes is to be Normal. >>> >>> I'm Cc:ing Boud because I bet Krita already has this... Hopefully the >>> naming of the element won't be an issue; the pattern has always been >>> fairly obvious. >>> >>> -- >>> Andrew Chadwick >>> >>> _______________________________________________ >>> Mypaint-discuss mailing list >>> [email protected] >>> https://mail.gna.org/listinfo/mypaint-discuss > > > > -- > Andrew Chadwick -- Andrew Chadwick _______________________________________________ CREATE mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/create
