Re: [css-filters] linearRGB vs sRGB

Hi Rik,

if it would be supported at all, you could just specify one color interpolation for the complete filter chain, not for single filter effects. But the default 'color-interpolation-filters' value of 'linearRGB' is indeed a problem. IIRC WebKits CSS short hand filters use either sRGB or DeviceRGB, but not linearRGB.

Greetings,
Dirk

On Feb 6, 2012, at 3:05 PM, Rik Cabanier wrote:

All,

currently the SVG spec states that by default, all filtering operations should happen in linearRGB:
http://www.w3.org/TR/SVG/painting.html#ColorInterpolationProperties
If you want the filtering to happen in sRGB, you need to specify 'color-interpolation-filters: sRGB'

My question is, can you do this with the shorthand CSS filters as well?
I believe the opacity, brightness and contrast filters should happen in sRGB and if the 'color-interpolation-filters' attribute in not supported, there is no way to get that behavior.

Rik

Received on Tuesday, 7 February 2012 03:24:34 UTC