[cairo] Crop a picture/surface

Stephane ANCELOT sancelot at free.fr
Thu Nov 22 00:20:48 PST 2007

Nguyen Vu Hung a écrit :
> Hi all,
> To crop an image, currently I have to pass a surface from cairo to
> GraphicsMagick and use GM's crop() method to crop it.
> For example, GM's crop can be used to crop a 300x500 pixel sub-picture
> from a 600x800 picture.
> I wonder if this can be done with cairo? If we can, then how?
using python imaging library will help you

More information about the cairo mailing list