Hi all,
is there a fast way to replace a color with a different color in a TBitmap, keeping the alpha value unchanged?
What I have is a bunch ob BitBtn buttons on form, each having the usual bitmaps for the different button states. Works well. Currently I have drawn glyphs in shades of black and grey, which fits Windows 7. On Windows 10 it looks alien, because Windows 10 uses blue color tones.
The idea is to replace the black shades with blue shades in FormCreate, so I do not have to maintain two different sets of bitmaps.
I found some code samples which look promising, but haven't got the time to do a lengthy trial session tonight, need a quick solution, so a working code snipped for this would be great.
Thnx
Armin.