Re: [Pixman] [patch] Gradient dithering into pixman

2018-03-27 Thread Marc Jeanmougin
On 03/27/2018 07:45 PM, Bill Spitzak wrote: > Quick look at the patch and it seems like this will work, though it is a > random dither. You might get much better compression of .png with a > patterned dither. I've also had good luck with pseudo-error-diffusion. > You keep in static memory an

Re: [Pixman] [patch] Gradient dithering into pixman

2018-03-27 Thread Bill Spitzak
I get it, the dithering is turned on/off with a Cairo control. I thought you were suggesting that it is turned off if the destination is an image. Quick look at the patch and it seems like this will work, though it is a random dither. You might get much better compression of .png with a patterned

Re: [Pixman] [patch] Gradient dithering into pixman

2018-03-27 Thread Marc Jeanmougin
Hi, Le 27/03/2018 à 02:04, Søren Sandmann a écrit : > A long time ago I wrote this: > >     https://lists.freedesktop.org/archives/pixman/2012-July/002175.html > > about how dithering could be added to pixman. The basic idea is that > "dithering" is a property of the destination image, not of the