From: Ralf Date: 2003-01-31T06:03:27+09:00 Subject: How to save Tk canvas as picture/create image from canvas? Hi, I'd like to save a canvas in some picture format (png, jpg, ...). In the archives I only found a solution for tcl: image ph. set retVal [catch {image create photo -format window -data $canvId} ph] return $ph } .... this creates an image that can be saved in different formats. The ruby solution probably looks very similar. Could you give me a hand with this, please? Thanks, Ralf.