From 04a2958485878e391e006ee384dac5059dc72773 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Thu, 6 Nov 2008 23:03:20 -0500 Subject: Add similar to pixbuf --- downscaling.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/downscaling.c b/downscaling.c index dc16c2e..98048fd 100644 --- a/downscaling.c +++ b/downscaling.c @@ -399,7 +399,8 @@ set_box (pixman_image_t *image, int w, int h, double scale) static void set_pixbuf (pixman_image_t *image, int w, int h, double scale) { - g_error ("Pixbuf filter is not implemented yet"); + g_print ("scale: %f\n", scale); + pixman_image_set_filter (image, PIXMAN_FILTER_AREA, NULL, 0); } static const filter_t filters[] = -- cgit v1.2.3