[cairo] Dithering in master

Kristian Høgsberg krh at bitplanet.net
Sat Jun 21 07:10:36 PDT 2008


On Thu, Jun 19, 2008 at 10:32 PM, Behdad Esfahbod <behdad at behdad.org> wrote:
> Hey,
>
> I finally cleaned up the dithering branch, fixed
> acquire_surface_for_solid enough, and pushed it all.
>
> The new dithering looks much better than my previous attempt.  The
> previous report is here:
>
>  http://www.nabble.com/Dithering-td16411729.html
>
> Previously color-smear looked like this:
>
>  http://imagebin.ca.tbcdn.com/img/nGPfqYz.png
>
> It now looks like this:
>
>  http://imagebin.ca.tbcdn.com/img/cZ8S1Ky.png
>
> Top-right counter-clockwise is dithered color-smear for cubes of size 6,
> 5, 4, 3, and 2.  6 being the default.
>
> I also fixed 16-bit dithering:
>
>  http://imagebin.ca.tbcdn.com/img/PxAGqYP.png
>
> Left to right: 32bit, 16bit dithering, 16bit no dithering.
>
> The only catch is that dithering only works if render is not available.
> But if someone is running *with* render and on 8bit, that's their bug
> IMO.

Hmm, so that mean you don't get the nicely dithered 16 bit gradients
if you're running a 16 bit server with render?  That's a shame..

Kristian


More information about the cairo mailing list