A Seg, 2004-04-26 �s 23:23, jromero escreveu: > I Want to flip an image. > > With Imlib were: > > gdk_imlib_flip_image_horizontal( image ) > > or > > gdk_imlib_flip_image_vertical( image ) > > How its in GTK 2?
There is no such API, but flipping a GdkPixbuf is just a trivial manipulation of its buffer. The only problem is that such manipulations have poor performance in Python, so they should be written in C. Maybe you should take a look at Imaging python extension module? I hear it is quite good, and it is possible to link it to GdkPixbuf. > > _______________________________________________ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ -- Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
