Re: Downsampling interpolation
"Bryce W. Harrington" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 06, 2013 at 10:01:39AM -0400, Hunter Loftis wrote: > 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. > Did you look at the downscaling patch that was posted about a month ago? I believe it's still on the docket to go in after the next release. If you'd like, I can stick it into a git tree for you. I've been working on some tests to go along with it. Bryce -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo