W3C home > Mailing lists > Public > www-svg@w3.org > January 2013

Re: [filter-effects] color-interpolation-filters

From: Erik Dahlstrom <ed@opera.com>
Date: Wed, 09 Jan 2013 16:33:42 +0100
To: "Tavmjong Bah" <tav.w3c@gmail.com>
Cc: www-svg@w3.org
Message-ID: <op.wqnhigjzgeuyw5@gnorps>
On Wed, 09 Jan 2013 16:05:07 +0100, Tavmjong Bah <tav.w3c@gmail.com> wrote:

> On Wed, 2013-01-09 at 14:44 +0100, Erik Dahlstrom wrote:
>> If we do say that colors are specified in the linearRGB space, then the
>> color chapter (and CSS2) is incorrect.
>> http://www.w3.org/TR/SVG11/color.html#ColorIntroduction says:
>> [[ All SVG colors are specified in the sRGB color space. ]]
> I saw this after I sent the last email. Perhaps it is best that flood
> and lighting colors be defined only in sRGB.

Yes, I think that's most consistent.

>> The specification of color isn't an interpolation, so I'm not sure how
>> 'color-interpolation-filters' would apply. Perhaps we need a new  
>> property
>> for this?
> feTurbulence filter does use the value of 'color-interpolation-filter'
> to determine the color space:
> "The generated color and alpha values are in the color space determined
> by the ‘color-interpolation-filters’ property:"
> Tav

Right, but one doesn't specify a color as input to feTurbulence (unlike  
say feFlood, feSpecularLighting etc). And the colors/alpha generated by  
the feTurbulence algorithm are being interpolated.

Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Wednesday, 9 January 2013 15:34:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:40 UTC