From: Hidetoshi NAGAI Date: 2009-05-18T17:15:03+09:00 Subject: Re: TkPhotoImage.copy always gives "too many colors" Error From: "C. Dagnon" Subject: TkPhotoImage.copy always gives "too many colors" Error Date: Mon, 18 May 2009 08:21:57 +0900 Message-ID: <38c5acd35dd5a955ae54291b4c510e3f@ruby-forum.com> > too many colors (RuntimeError) This error message is generated in a GIF write function of Tcl/Tk ("CommonWriteGIF" function in stardard Tcl/Tk and tkImg extension), when color map size of an image is larger than 256. So, it doesn't depend on Ruby/Tk. I'm sorry but I have no solution. The only what I can say is "Could you try to use 'format' option?". -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)