W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css-compositing] "add" and "subtract" blend modes

From: Rik Cabanier <cabanier@gmail.com>
Date: Thu, 23 Aug 2012 11:10:44 -0700
Message-ID: <CAGN7qDC548tgYYp+SDFwwSmdM0yC2TkqEQVDBeLj0wdzdeDvLQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Shawn Allen <shawn@stamen.com>, www-style@w3.org
On Thu, Aug 23, 2012 at 11:03 AM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Thu, Aug 23, 2012 at 10:55 AM, Rik Cabanier <cabanier@gmail.com> wrote:
> > thanks for your feedback!
> > Do you feel strongly that these blend modes should be in the first
> > specification, or do you think they could wait until the next version?
> > Looking at the open source browsers, there is no support under the hood
> for
> > these Photoshop specific blend modes which might slow down
> implementation.
> I may be off-base, but the cross-fade() function in Images 4
> <http://dev.w3.org/csswg/css4-images/#cross-fade-function> uses the
> 'add' PD operator.  Is that the same as the linear-dodge blend mode?
> If so, then we have an implementation of it in WebKit.
That is the 'lighter' compositing mode [1] which adds all the values
(including alpha) of the source and destination.
'Linear dodge' adds the color components and then applies the blending
stages [2]. This will give a more pleasing result.



2: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blending
Received on Thursday, 23 August 2012 18:11:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:20 UTC