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

Re: [css-filters] linearRGB vs sRGB

From: Dirk Schulze <dschulze@adobe.com>
Date: Mon, 6 Feb 2012 15:29:07 -0800
To: Rik Cabanier <cabanier@gmail.com>
CC: "public-fx@w3.org" <public-fx@w3.org>
Message-ID: <3BD430B9-3C39-433A-B789-CD539986A5B9@adobe.com>
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.


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


currently the SVG spec states that by default, all filtering operations should happen in linearRGB:
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.

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

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:46 UTC