Re: [svgwg] 'color-interpolation' isn't used for alpha compositing

To the extent that anyone implements `linearRGB` color interpolation, I think it is done using the sRGB gamut, but with addition/interpolation simplified. Does anyone have an objection to formally defining it that way?

On Myles' original question: I have no problem with excluding compositing from the definition of what `color-interpolation` affects, to match reality. (Even if, as Chris has pointed out, the results aren't always optimal. It seems easier than changing the compositor code in browsers and operating systems and GPUs.)

As far as `color-interpolation` goes:
I think the property would be a lot more popular if it gave us other options, to interpolate colors (for gradients and animations, in particular) using color spaces that use non-RGB decomposition. Wouldn't it be nice to interpolate between two bright, saturated colors without going through gray in between, by interpolating a hue component instead or red, green, and blue?

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/366#issuecomment-430059779 using your GitHub account

Received on Tuesday, 16 October 2018 00:30:25 UTC