W3C home > Mailing lists > Public > public-fx@w3.org > January to March 2012

[css-filters] linearRGB vs sRGB

From: Rik Cabanier <cabanier@gmail.com>
Date: Mon, 6 Feb 2012 15:05:42 -0800
Message-ID: <CAGN7qDDh_yJX_EzWNtuvW3N_eywgvB3MioMn6FoP_p8kHTwh-A@mail.gmail.com>
To: public-fx@w3.org
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 Monday, 6 February 2012 23:09:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 February 2012 23:09:35 GMT