On 03/29/2011 08:29 AM, Tavmjong Bah wrote:
- Filters: Use of linearRGB.
I just want to make sure I understand roughly what this one would entail. As I understand it, we're talking about supporting the linearRGB colorspace as described here:
http://www.w3.org/TR/SVG/painting.html#RenderingProperties
throughout the filter stack. If I read the standard correctly, the "color-interpolation-filters" property applies to filter primitives, which I think means that you could have one primitive using sRGB and another using linearRGB in the same filter.
This would seem to require that each bitmap in the filtering chain gets tagged with what its colorspace is, with conversions being done as needed before each filter primitive is applied. Hopefully the common case would be either sRGB or linearRGB being used in the entire filter, but we'd have to support the general case.
Is that basically right?
Thanks,
Jason