From: nagai@... Date: 2003-02-02T09:28:33+09:00 Subject: Re: How to save Tk canvas as picture/create image from canvas? Hi, From: Ralf Subject: Re: How to save Tk canvas as picture/create image from canvas? Date: Fri, 31 Jan 2003 23:25:25 +0900 Message-ID: <3e3a57af$1@epflnews.epfl.ch> > So it "seems" to work, but ... > ph = TkPhotoImage.new('format'=>'gif', 'data'=>@can) #data: my canvas > leads to: "couldn't recognize image data". Same for 'data'=>@can.path That is a right result. :-) I think you can give a canvas widget path as a 'data' option value when you give 'window' as a 'format' option value. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)