Saving Tkinter images?

dustin lee d_w_lee at yahoo.com
Tue Feb 5 23:00:15 CET 2002


I'm pretty new to Tkinter programming so bear with me.  I'm interested
if there is some way to save an image (eg. to a jpeg or png) that has
been drawn to a Tkinter canvas.  I'm guessing there isn't but I
thought I'd at least ask.  I know I can do a screen print if a get
desparate but I'd like to be able to create them programatically.  I
also know about (but haven't used) PIL and gdmodule, I just thought it
would be cool to go directly to an image from Tkinter.

thanks

dustin



More information about the Python-list mailing list