Re: Convert Canvas to bitmap image
Michael Lange <[email protected]> Mon, 23 Oct 2017 19:07:49 +0200
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 23 Oct 2017 18:53:24 +0200 Michael Lange <[email protected]> wrote: > you can use the tkImg library to do that. tkImg's "window" image type > allows you to create "screenshots" of Tk widgets on the fly. Oh, and I forgot to mention, with the window image type it is necessary that the canvas is *completely* visible on the screen, otherwise you might end up with blacked-out image parts or even a TclError. So for a real big canvas that requires scrolling I am afraid this is no option. Best regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. War isn't a good life, but it's life. -- Kirk, "A Private Little War", stardate 4211.8