W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-masking] multiple mask layers and mask-composite

From: Dirk Schulze <dschulze@adobe.com>
Date: Sat, 12 Apr 2014 17:35:42 +0000
To: fantasai <fantasai.lists@inkedblade.net>
CC: "www-style@w3.org" <www-style@w3.org>, public-fx <public-fx@w3.org>
Message-ID: <0B8117BB-3871-4436-A6E1-E1FC8CD5DD9F@adobe.com>
Hi all,

As announced, I merged multiple layer masks from the GitHub proposal back to the ED of CSS Masking[1].

Please send your feedback to the public-fx mailing list.


[1] http://dev.w3.org/fxtf/css-masking-1/

On Mar 5, 2014, at 9:49 PM, Dirk Schulze <dschulze@adobe.com> wrote:

> On Mar 5, 2014, at 6:02 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
>> On 03/05/2014 03:15 AM, Dirk Schulze wrote:
>>>> I vaguely remember the problem being something about choosing between
>>>> - each layer acts individually as a mask over all the layers+content
>>>>   before it
>>>> vs.
>>>> - composite all the mask images, then use that as a mask
>>>> and then the possibility of grouping certain combinations of images
>>>> rather than all or none. Does your proposal address that in a reasonable
>>>> way?
>>> I believe so. Not only that, it provides much more control over the content,
>>> many people familiar with globalCompositeOperators from HTML canvas will
>>> appreciate having the same capabilities.
>>> The two modes you mention can be archived with source-over (draw layers
>>> on top of each other and mask together) and destination-in (mask each
>>> layer with the the next layer and then mask content with the result).
>> Can you give an example that would accomplish the two behaviors above?
>> Do I need to be careful with the operator assigned to the last image,
>> for example?
> I added 3 images to the compositing examples[1]. It hope it make things more clear. Please take a look at the examples.
> Greetings,
> Dirk
> [1] http://dirkschulze.github.io/specs/css-masking-1/#the-mask-composite
>> ~fantasai
Received on Saturday, 12 April 2014 17:36:16 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC