[cairo] Trouble scaling down images.

Krzysztof Kosiński tweenk.pl at gmail.com
Fri Apr 8 13:49:16 PDT 2011


2011/4/8 Tristen Ennemuist <tristen_e at yahoo.com>
> hello all
> i've written some code to scale an image down, however the quality of the downsized image is poor compared to how the gimp or eog scales down.
> i'm probably doing something wrong of course. a snippet from a class i've written:

Your code is correct, but Cairo does not implement correct
downsampling yet, so there is no way to get good quality results.

Regards, Krzysztof


More information about the cairo mailing list