I don't think a color palette would be that hard to make. I would use const short palette[256] = {color data...};

I guess the only tough thing is getting the palette data, but I have an idea on how to form that.
z80man wrote:
I don't think a color palette would be that hard to make. I would use const short palette[256] = {color data...};

I guess the only tough thing is getting the palette data, but I have an idea on how to form that.
I would just run the program through a little script to count the 256 most-common colors, write the index, then generate the image data, doing nearest-neighbor color matching for colors not in the index.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement