From: email55555 email55555 Date: 2004-12-26T13:32:23+09:00 Subject: [Tk] TkPhotoImage question It seems to me that the usage of TkPhotoImage is not like others Ruby/Tk ... a.copy(b, :subsample=>5) # is OK. a, b are instance of TkPhotoImage but if you want subsample x y : a.copy(b, :subsample=>'5 5') # ==> Error ... a.copy(b, :subsample=>[5, 5]) # ==> Error ... I found the only way is : a.copy(b, '-subsample 5 5') # OK Same problem on read, write ... etc a.read('image.gif', :shrink) #==> Error a.read('image.gif', 'shrink') #==> Error The only way to do it is : a.read('image.gif', '-shrink') Is there some reasons to desing TkPhotoImage this way ? Thank you.