[cairo] image downsampling quality

Ray Gardener rayg at daylongraphics.com
Thu Jan 2 03:09:18 PST 2014


When using e.g. cairo_pattern_set_filter(pattern, CAIRO_FILTER_BEST) and
the pattern uses a bitmap surface, is the filter only for upsampling?
I have high-res bitmaps that, when drawn to occupy fewer canvas pixels 
(downsampled),
they look like they're being nearest neighbour filtered.

Ray






More information about the cairo mailing list