[svgwg] Make 'color-interpolation' work in associated alpha

leni536 has just created a new issue for https://github.com/w3c/svgwg:

== Make 'color-interpolation' work in associated alpha ==
https://www.w3.org/TR/2016/CR-SVG2-20160915/painting.html#ColorInterpolation

It says: "Having chosen the appropriate color space, component-wise 
linear interpolation is used." The available color spaces are 
linearRGB and sRGB.

Interpolating colors with non-1 opacity should use associated alpha 
for interpolation, or at least there should be an option for using 
associated alpha (like offering linearRGBaa as an option)

Why should color interpolation work like this? This way the two 
operations of blending the colors with a solid color background and 
applying the interpolation are interchangeable. Imagine a gradient 
between fully opque red and fully transparent "blue" on a white 
background. According to the current standard in the middle we get 
light purple. With associated alpha we exactly get a gradient between 
red and white.

Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/303 using your GitHub account

Received on Tuesday, 24 January 2017 12:35:05 UTC