From: Ralf Date: 2003-02-04T22:13:15+09:00 Subject: Re: How to save Tk canvas as picture/create image from canvas? nagai@ai.kyutech.ac.jp wrote: >>This is what I tried first, but ... >> $!: image format "window" is not supported 8( > > > I thought your Tcl/Tk already supported the option. > Well, first of all, you must let your Tcl/Tk supports the option. > If the option is supported by Tcl/Tk ext library, > you must load the library on your Ruby/Tk by TkPackage module. > If the Tcl/Tk ext library only add support of new formats, > probably you don't need to define new classes for Ruby/Tk. ??? Sorry, Sir, but you probably can't imagine, how confused a Windows person can be in a Unix world. So I spent some time on this, managed (not sure about this) to install tkext, but now I don't know what to do with it. The tkext test scripts don't run, because I don't have tix, and I wasn't able to find out how to get it (... Unix world). What is this TkPackage module? I found something here: http://www.eng.dmu.ac.uk/~hgs/ruby/ruby-1.6.7-rdocs/classes/TkPackage.html .... but didn't understand it. I'm progressing well with my application, only without being able to export the result (the picture on the canvas), it is all useless. So it is really important for me to find a solution. Seems like I reaaly depend on your support, strangely enough. Thank you! cheers, Ralf.