Results 1 to 2 of 2

Thread: Saving from 24-bit to 256 color bitmap (HELP!)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2000
    Posts
    29
    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

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088
    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 )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width