[cairo] cairo_scale < 0.5 image clarity issue
Antoine Azar
cairo at antoineazar.com
Thu Sep 25 10:20:17 PDT 2008
Hi Zaheer,
there has been recent progress on that matter, you should check with Fred
Plourde. I think that two different approaches are being implemented,
mipmapping and box filtering. I would suggest using a summed area table for
box filtering. We'd be doubling the memory requirements of each image using
it but we would take almost no performance hit when doing downscale
interpolation.
Antoine
From: cairo-bounces at cairographics.org
[mailto:cairo-bounces at cairographics.org] On Behalf Of zaheer ahmad
Sent: Wednesday, September 24, 2008 10:50 AM
To: cairo at cairographics.org
Subject: [cairo] cairo_scale < 0.5 image clarity issue
hi all,
referring to thread at
http://lists.cairographics.org/archives/cairo/2007-October/011610.html,
would like to know if there are any updates in cairo recently that improve
the scale clarity for < 0.5
currently to scale an image at 0.25 i create a temporary buffer and scale it
two times at 0.5 to get a better quality.
appreciate any inputs.
thanks,
Zaheer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20080925/c1dc8341/attachment.html
More information about the cairo
mailing list