W3C home > Mailing lists > Public > www-svg@w3.org > July 2012

Re: Compositing math in SVG

From: Rik Cabanier <cabanier@gmail.com>
Date: Wed, 11 Jul 2012 11:55:57 -0700
Message-ID: <CAGN7qDDvrNpyvK-08Ex5QGsVyu4Xk6Cf0OrfSnmS-ms+A2FRhw@mail.gmail.com>
To: Calculemus <calculemus1988@gmail.com>
Cc: www-svg@w3.org
They are in a readable form.
In practice, most implementors will optimize blending + handling of opacity
+ compositing into 1 formula so they don't have to make multiple passes and
cut down on the number of operations.

Out of curiosity, what product are you working on?

Rik

On Wed, Jul 11, 2012 at 4:07 AM, Calculemus <calculemus1988@gmail.com>wrote:

> And another question is, are the formulas for the blend modes
> optimized or they are in a readable form? I might keep
> the more readable form as a comment for my function but
> reduce the math inside the function, in terms of number
> of additions/multiplications.
>
Received on Wednesday, 11 July 2012 18:56:25 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT