Modifying Palette on 256 Color Bitmap


  Laurie <> wrote in message
  I have a 256 colour bitmap used for data representation, not as a photo.  Each pixel represents a value, and the palette is used to show as a scale.  i.e. for a grey scale image, black=0, white=100.
You might try the AnimatePalette links at    

For other Delphi Color Palette info, look at Section A of

While working with strictly data, I have learned that if you create a palette and then
fill in the scanlines, all seems to work OK.  If I remember correctly, the Scanline
Tech Note shows this:    

Good luck!  (Palettes are not fun to work with)


Earl F. Glynn     E-Mail:
Overland Park, KS  USA

efg's Computer Lab: