Easy image rendering?

skip at pobox.com skip at pobox.com
Wed Aug 9 21:19:28 EDT 2006


    >> If you are using PIL you could use im.show(); but all that does is
    >> saving the image data to a file and opening that file in an external
    >> application (xv on UNIX). At least you don't have to do it yourself.

    jay> No good.  No external applications.  What else is there?  Worst case
    jay> scenario, what's the easiest way to do GUI?

You can still use PIL.  Just feed the result to Tkinter.  Check out the
ImageTk module that's part of PIL:

    http://www.pythonware.com/library/pil/handbook/imagetk.htm

Check this thread for some hints from Fredrik Lundh on combining PIL and
Tkinter:

    http://mail.python.org/pipermail/python-list/1999-July/007379.html

I'm sure when he gets up in Europe he'll be able to provide some more useful
pointers.

Skip




More information about the Python-list mailing list