[Image-SIG] Capturing the Tkinter Canvas to the Windows Clipboard
fredrik at pythonware.com
Fri Jan 5 08:06:32 CET 2007
david.giesen at kodak.com wrote:
> I've searched all over and I can't figure out how to transfer an image of
> the Tkinter Canvas to the Windows clipboard (or any clipboard, for that
> matter). I've use the PIL to capture and display an image of the Canvas,
> but I can't figure out how to put that image into the clipboard directly.
> Yes, I can capture it, display it automatically using Windows Paint and
> use "copy" in that program to put it in the clipboard, but that seems,
> well, clunky.
PIL can copy from the clipboard, but not to it. here's the relevant
issue tracker item:
contributions are welcome! (a ctypes-based implementation would be good
start, I think).
More information about the Image-SIG