[cairo] [PATCH] pixman: high qualtiy downscaling

Ian Britten britten at caris.com
Fri Nov 27 08:51:47 PST 2009


Soeren Sandmann wrote:
> Maybe that is CAIRO_FILTER_GOOD, but that would conflate interpolatino
> and sampling, which would bug me. Another possibility is that cairo
> simply offers
> 
>       CAIRO_RESAMPLE_FAST
>       CAIRO_RESAMPLE_GOOD
>       CAIRO_RESAMPLE_BEST
> 
> defaulting to GOOD, where GOOD then would mean "make it look good". 

+1

I don't appreciate the differences between interpolation and sampling,
and I'm certain my (end)users wouldn't.
Whatever Cairo eventually offers, I will likely just wrap+expose with
abstract FAST/GOOD/BEST options (At least, until a knowledgeable user
needs more specific control, if ever ...)

PS: My more interesting downscaling concern/goal would be about
downscaling *huge* source images to a reasonable (ie on-screen) size,
but that's probably a whole different discussion ...

Ian



More information about the cairo mailing list