[cairo] Crop a picture/surface
Nguyen Vu Hung
vuhung16plus at gmail.com
Thu Nov 22 01:03:02 PST 2007
2007/11/22, Stephane ANCELOT <sancelot at free.fr>:
> 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
>
But I need to do it in C.
Not python.
--
Best Regards,
Nguyen Hung Vu
vuhung16plus{remove}@gmail.dot.com
An inquisitive look at Harajuku
http://www.flickr.com/photos/vuhung/sets/72157600109218238/
More information about the cairo
mailing list