>Thanks,I know how to create a photoimage, but I don't know how to use Image.new;can it create a new image?According to the Rdoc, should be "new(keys=nil)".Thanks again. ===== Original Message From ts <decoux / moulon.inra.fr> ===== >>>>> "M" == Maggie Xiao <mxiao / ee.ualberta.ca> writes: > >M> TkImage.new{type "phoimage" >M> file "xxxx.gif" >M> } > > Apparently you want a PhotoImage, try > > TkPhotoImage.new { file "xxxx.gif" } > > >Guy Decoux