PIL-to-drawable

PIL-to-drawable is a simple interface library that allows programs to display PIL images in a gdk drawable. The example program(test-bed.py) creates a GtkDrawingArea and draws a computer generated picasso image in random locations.

Note that the code will only draw 32bpp PIL images. The code to interface 8bpp indexed images is fairly complex and as PIL already provides routines to transform to 32bpp, I haven't bothered to make my own.

There is no setup.py yet, but the makefile is very simple and should be fairly easy to modify for various configurations. Please send any bug reports to me: njh at yoyo cc monash edu au.

It would be nice if the code was included in either gtk or pil, but it is hard to say where it belongs.

dependancies

releases