From: "C. Dagnon" Date: 2009-05-19T08:25:11+09:00 Subject: Re: TkPhotoImage.copy always gives "too many colors" Error Hmmm, I tried a separate JPEG from a camera which displays correctly with other programs as a straight copy and got the same errors. Of course the original images were ones I cut out of a JPEG using GIMP, so I don't think it is the original format which is the problem. I'd be happy to try other images if you have suggestions - color tests or what not, or suggestions on what makes a good image file... I also tried it on a Mac OS X 10.4.11 and again had the same GIF "too many colors" error. That would mean it is some problem in the Ruby-Tk wrapper, correct? I wonder if they ever tested writing a JPEG file. But again I'm unsure that I'm using the API correctly here since I can't find examples from Google of anyone doing it. Any alternate code is appreciated. But perhaps it is onto another UI technology then :( -Chris -- Posted via http://www.ruby-forum.com/.