![](https://secure.gravatar.com/avatar/82c0f6eed0ee59676eb45aadd66dac57.jpg?s=120&d=mm&r=g)
Krzysztof KosiĆski wrote:
2010/8/20 Jasper van de Gronde <th.v.d.gronde@...528...>:
I guess there are some interesting things to be done in this area, but in the short term it might be easiest to either try to enable 16 bit rendering and add dither afterwards or to add a simple dither to gradient rendering (would definitely need to be optional, possibly on a per-shape basis).
Dithering would be much simpler to add, as Pixman doesn't support 16-bit compositing at the moment. It could be set as one of the pattern options.
By the way, 16-bit sRGB integers aren't the only option. 16-bit linear floats could be better.
Floats are VERY nice, and I'd love some HDR extensions to SVG. But in this specific case 16 bit floats are not that useful, as currently our "signals" stay within the range [0,1] and we'd probably be better off with more bits fixed precision than with a larger range (although I guess 16 bit floats may just have enough extra precision to work adequately with dithering).