Re: Convert Canvas to bitmap image
Vasilis Vlachoudis <[email protected]> Tue, 24 Oct 2017 09:38:42 +0000
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
Thank you very much! It is a good option to explore. Thanks Vasilis ________________________________________ From: Tkinter-discuss [[email protected]] on behalf of Michael Lange [[email protected]] Sent: Monday, October 23, 2017 19:07 To: [email protected] Subject: Re: [Tkinter-discuss] Convert Canvas to bitmap image 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 _______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss