[cairo] scaling an image

folkert folkert at vanheusden.com
Sun Aug 13 07:12:23 UTC 2017

> > I would like to scale an image.
> > Is that something I could do with cairo? Because according to google
> > cairo_scale does not resize the surface.
> What kind of scaling exactly? The following (untested) code scales an

Just smaller or bigger.

> image to half the size (rounded down); does that help you?

It does! Thanks!

Folkert van Heusden

More information about the cairo mailing list