[Image-SIG] To svae a Tkinter image.

Fredrik Lundh fredrik@pythonware.com
Thu, 15 Jul 1999 03:12:59 +0200


Adrian Valdez <valdez@garlic.fnal.gov> wrote:
> Greeting everybody! I was wondering if the PIL can grab a
> screen display created with Tkinter and save it to a file. It seems it
> can open images and edit them and save them, but what I need is not to
> open an image but to get the one on the screen and save it to a
> file. Can PIL do this??

nope.

you could try doing the screen capture by calling "xv"
or "xwd" or some other tool from your script.  or you
can surf over to www.scriptics.com and see if you can
find some Tk extension...

</F>