From: Ralf Date: 2003-02-03T18:13:19+09:00 Subject: Re: How to save Tk canvas as picture/create image from canvas? nagai@ai.kyutech.ac.jp wrote: >>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. This is what I tried first, but ... $!: image format "window" is not supported 8( Cheers, Ralf.