[cairo] Downsampling interpolation

Hunter Loftis hunter at hunterloftis.com
Tue Aug 6 07:01:39 PDT 2013

Hi everyone - new to cairo, just browsed through a bunch of old discussions and commits to learn about the < 0.5 downsampling issue (cairo always linearly interpolates between two values, so at < 0.5 results look terrible).

Is there any path to a solution within cairo, or would that be terribly complex? My alternative is to repeatedly downsample at 0.5 until the ratio is > 0.5 in order to hit my downsample target. Obviously pretty kludgy but it'd get the job done.


More information about the cairo mailing list