[webkit-dev] Adding blending mode to background images
cabanier at gmail.com
Fri Feb 1 13:13:00 PST 2013
On Fri, Feb 1, 2013 at 1:08 PM, Dirk Schulze <dschulze at adobe.com> wrote:
> On Feb 2, 2013, at 8:01 AM, Benjamin Poulain <benjamin at webkit.org> wrote:
> > On Fri, Feb 1, 2013 at 12:44 PM, Rik Cabanier <cabanier at gmail.com>
> > background-image: url(a.png), url(b.png);
> > -webkit-background-blend-mode: screen, screen;
> > Out of curiosity:
> > I am probably way too late for the party, but why not blend
> surface-to-surface? E.g.
> > background-image: blend(url(foo.png), url(bar.png), difference).
> > This is in order to easily stack them:
> > background-image: blend(blend(url(foo.png), url(bar.png),
> difference), url(giraffe.gif), screen).
> I like the idea, but it has the big disadvantage that you can not repeat
> an image, change origin and size before blending with the next layer.
True. This feels more like a filter where you pull different sources in.
> > Although, maybe we don't want that as it could get more difficult to
> > Benjamin
> > _______________________________________________
> > webkit-dev mailing list
> > webkit-dev at lists.webkit.org
> > https://lists.webkit.org/mailman/listinfo/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev