Re: [fxtf-drafts] Clarify color-interpolation-filters behavior on feMerge (#326)

1) `feMerge` is the filter primitive and `feMergeNode`s are its inputs - `color-interpolation-filters` define the colorspace in which the filter primitive operates. So here the `feMerge` operation should be performed in the `linearRGB` space. `color-interpolation-filters` does not apply to `feMergeNode` (see the property definition you linked).

2) Since - per above - the colorspace to use is `linearRGB`, all inputs (`feMergeNode`s) should be converted to the filter primitive "operation" colorspace. I don't think the spec says anything about how to "store" any intermediate results, but since conversions usually are lossy (and not generally free) I would imagine most implementations store the result in the operation colorspace (the one specified by `color-interpolation-filters`). Also, since the default colorspace is `linearRGB`, usually the whole filter chain will operate as `linearRGB` only converting from/to `sRGB` on input(s) and output. Maybe the spec should say something about intermediates.

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

Received on Sunday, 2 December 2018 11:23:46 UTC