Re: [CSS4 color][CSS4 transition] color pre-multiplied vs non pre-multiplied was (Re: [CSSWG] Minutes TPAC Tue 2012-10-30 AM I: Abstract Directions, Transforms, Transitions)

On Fri, Mar 1, 2013 at 9:38 AM, Rik Cabanier <cabanier@gmail.com> wrote:
> On Fri, Mar 1, 2013 at 5:57 AM, Nicolas Robidoux
> <nicolas.robidoux@gmail.com> wrote:
>> 1) It would appear that regardless of whether the gradient is >>computed<<
>> in pre- or non-pre, the >>specification<< of the starting, ending and stop
>> colors should be in non-pre.
>
> yes, that is the case. Colors are always specified in non-premultiplied.

Yeah.  We could theoretically add more color functions that specify
premultiplied, but I doubt they'd be useful, and they'd be very likely
to confuse people. ^_^

>> 2) Maybe there should be some way to specify whether the gradient should
>> be computed in linear light, in perceptual light, or taking the current
>> color space as is.
>
> yes. It would be nice if we could specify that gradients are interpolated in
> an Lab (or other non-sRGB) colorspace.

Yeah, thinking about that for the future.

~TJ

Received on Friday, 1 March 2013 19:16:46 UTC