From: Andrew Hunt Date: 2000-07-13T08:07:15-04:00 Subject: [ruby-talk:03970] Re: Tk PhotoImage options >With the following patch, > > image_widget.copy(new_img, 'subsample' => [8 8]) > >would work. > >--- /usr/lib/ruby/1.4/tk.rb Tue May 9 13:50:41 2000 Many thanks! Works a treat. But shouldn't "filter": > def tk_call(*args) > print args.join(" "), "\n" if $DEBUG >- args.filter {|x|_get_eval_string(x)} >+ args.filter {|x|ruby2tcl(x)} > args.compact! > args.flatten! Be "collect!" instead? (At least for 1.5?) /\ndy