On Wed, May 25, 2005 at 11:19:34PM +0200, manatlan wrote:
> it's easy to convert a PIL Image to a Pixbuf, like this :
> http://slugathon.python-hosting.com/changeset/205
>
> but is it possible to Convert a pixbuf to a pil Image ?
The tips I managed to wrestle from Johan were:
<jdahlin> pixbuf.get_pixels()
<jdahlin> PIL.Image.frombuffer()
If you manage, could you post a very small testcase so I can add that to
the FAQ? Thanks.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/