From: Albert Schlef Date: 2009-01-22T21:58:54+09:00 Subject: Tk supports only GIF? I has this snippet to show images: require 'tk' TkLabel.new do image TkPhotoImage.new('file'=> 'world.gif') end.pack Tk.mainloop But if I point it to some PNG or JPEG file, I get a "couldn't recognize data in image file" exception. If I add an explicit 'format' => 'png', I get a "image file format 'png' is not supported" exception. I'm using Ubuntu. Doesn't Tk support JPGs and PNGs out of the box? -- Posted via http://www.ruby-forum.com/.