[cairo] antialias for images?

Peter Goetz peter.gtz2 at gmail.com
Tue Oct 16 06:16:30 PDT 2007

Hi all,
okay, I tried cairo_pattern_set_filter, by using the image with a
pattern as it was suggested by mental. Also with no success. None of
the filters changed anything in the result.
So I guess Björn is right and cairo doesn't support high quality filtering yet.
Too bad. Thanks anyway!


2007/10/16, Bill Spitzak <spitzak at thefoundry.co.uk>:
> Peter Goetz wrote:
> > As you already supposed I started with a high resolution source image.
> > I also change the order of rotation and scale. With no success.
> > Even if I don't rotate at all and just scale the image down, I get a
> > non-antialiased result.
> >
> > Any suggestions? Thanks again for help!
> I think the problem is that any scale less than .5 does not produce good
> antialiasing. What it does is linearly interplate the closest 2 pixels.
> At a scale less than .5 it must include more the 2 pixels in the
> calculation for a single output pixel.
> I believe any fix will have to be done by a lower-level library such as
> pixman or the XRender extension.
> --
> Bill Spitzak, Senior Software Engineer
> The Foundry, 1 Wardour Street, London, W1D 6PA, UK
> Tel: +44 (0)20 7434 0449 * Fax: +44 (0)20 7434 1550 * Web:
> www.thefoundry.co.uk
> The Foundry Visionmongers Ltd * Registered in England and Wales No: 4642027

More information about the cairo mailing list