ef2k
May 29th, 2000, 01:14 PM
I can't find a way to do this ANYWHERE! No API code or anything, no controls, no nothing! I want to save a 256-color bitmap from a 24-bit bitmap. I've deduced that this will require some dithering of some sort most likely...any hlep appreciated! Thank you guys for all your help in the past!
E
Fox
May 29th, 2000, 10:43 PM
I asked this here too, but I didnt get any answers... well, what I can give you is the basic idea:
Go trough each pixel, search the most simliary color in you palette and store the value in a 8-bit array which is the new bitmap. It all becomes much more complicated if you want to use an optimized palette ;) However, Im sure there are examples / controls out there to make this, so if you find one please let me know (coz I need it too ;))