Stroing tkinter screen as PNG file..............

Fredrik Lundh fredrik at pythonware.com
Tue Jun 24 09:32:07 EDT 2003


Suresh Kumar wrote:

>     I am using python/tkinter/windows. How to store tkinter canvas
> screen as a PNG file? I have drawn some rectangles in my canvas
> and i want to store it as a PNG file so that i can use it for
> further processing. How can i do it?

here's one way to do it:

    http://mail.python.org/pipermail/image-sig/2003-May/002292.html

ImageGrab is part of the PIL library:

    http://www.pythonware.com/products/pil

</F>








More information about the Python-list mailing list