[fxtf-drafts] [filter-effects] Clarify the colour spaces used

debarshiray has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [filter-effects] Clarify the colour spaces used ==
The text of the Filter Effects (https://drafts.fxtf.org/filters/) specification is either buggy or needs clarification when it comes to the colour spaces used for different operations.

For example, https://drafts.fxtf.org/filters/#ColorInterpolationFiltersProperty says that color-interpolation-filters applies to "all filter primitives". Then it goes on to say that "it has no effect on filter primitives like feOffset, feImage, feTile, feFlood or feTurbulence". However https://drafts.fxtf.org/filters/#elementdef-feturbulence says "generated color and alpha values are in the color space determined by the color-interpolation-filters property".

It also says "filter functions must operate in the sRGB color space".

For a simple effect like sepia (https://drafts.fxtf.org/filters/#sepiaEquivalent), I am left wondering whether the specified feColorMatrix should be applied on linear RGB values or perceptual ones.

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/127 using your GitHub account

Received on Sunday, 9 April 2017 02:24:24 UTC