[cairo] Downing scaling images
Ross.Alexander at EU.NEC.COM
Tue Dec 14 11:13:13 PST 2010
Here it is then.
From: cairo-bounces+ross.alexander=eu.nec.com at cairographics.org [mailto:cairo-bounces+ross.alexander=eu.nec.com at cairographics.org] On Behalf Of Ross Alexander
Sent: 14 December 2010 18:26
Subject: [cairo] Downing scaling images
The best down scaler I have come across gdk-pixbuf with GDK_INTERP_HYPER. Both the cairo scaler and gegl only do bilinear scaling.
gdk_pixbuf_scale(px, spx, 0, 0, width_new, height_new, 0.0, 0.0, scale, scale, GDK_INTERP_HYPER);
I have a test C program comparing the three methods.
cairo mailing list
cairo at cairographics.org
Click https://www.mailcontrol.com/sr/7ymB0P0u8unTndxI!oX7UhQ1x5oWB0K1uO+b8tP5saWedNZ6s6b8mL9BA4W64vLRmG!gA5Ow99Gl3fOT1a7RlQ== to report this email as spam.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cairo