- From: Nikos Andronikos via GitHub <sysbot+gh@w3.org>
- Date: Tue, 24 Jan 2017 23:06:25 +0000
- To: public-svg-issues@w3.org
nikosandronikos has just labeled an issue for https://github.com/w3c/svgwg as "SVG Core": == 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. See https://github.com/w3c/svgwg/issues/303
Received on Tuesday, 24 January 2017 23:06:34 UTC