Re: [fxtf-drafts] [filter-effects] Color space awareness (#428)

Yup.

> Filter functions must operate in the sRGB color space.
https://drafts.fxtf.org/filter-effects-2/#backdrop-filter-operation

Perhaps the easiest way would be to extend [`color-interpolation-filters`](https://drafts.fxtf.org/filter-effects-1/#propdef-color-interpolation-filters) which would make one entire filter use a different colorspace, like `display-p3`.

Although by default SVG filters operate in **linear-light sRGB** so extending this to other color spaces would involve creating linear-light versions of p3 etc.

There is also a bizarre and apparently normative note about the (CSS) filter functions:

> Note: The color-interpolation-filters property has no affect on Filter Functions, which operate in the sRGB color space.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/428#issuecomment-950798558 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 25 October 2021 10:59:07 UTC