30 Apr
2017
30 Apr
'17
10:25 p.m.
Easiest way to remove the banding on gradients would be to have dithering in pixman (used by cairo).
See also earlier discussion in [1]
You can find some traces of people having done that (even in old mozilla code[2] with a custom pixman patch[3])
From looking at the pixman repo[4], it does not seem there has been
anything done to do it there. I did not investigate the pixman ml to find if there has been discussions about dithering there.
--
Mc
[1]
http://inkscape.13.x6.nabble.com/Gradient-smoothness-dithering-td2810041.htm...
[2]
https://github.com/mozilla/positron/commit/73d47c569bc090a72bb78c05e9ae89b74...
[3]
https://github.com/mozilla/positron/blob/master/gfx/cairo/pixman-dither.patc...
[4] https://cgit.freedesktop.org/pixman/tree/pixman/pixman-linear-gradient.c
On 04/30/2017 11:49 PM, C R wrote:
> Good god, I hope so! That would be amazing! :D
> If it works, why make it optional? Just make it the default. It's
> really terrible the way it is. :P
>
> -C
>
> On Sun, Apr 30, 2017 at 10:02 PM, Jabier Arraiza
> <jabier.arraiza@...2893...> wrote:
>> Can Inkscape get benefits to reduce banding on gradients appliing
>> smoothing from mesh gradients as optional value in the gradient toolbar
>> as a temporary workarround while swich to a higer color data?
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Inkscape-devel mailing list
>> Inkscape-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Inkscape-devel mailing list
> Inkscape-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/inkscape-devel
>