I have googled loads, and all I can find is changing the whole bitmap to a new colour.
The basis of it is that I want to swap all the Red in an image (RGB: 231,9,9. Hex E70909)
to lets say Fushia, or another RGB colour.
I can't seem to work out how to specifically swapp just a single colour for another.
The image is only 80x80px so I don't think GetPixel (which supposedly is slow) would impact it that much. That is, if GetPixel is the correct thing to use.
Loading

VulpesRank #55 · 29.2K reputationPosted May 30, 2013, 10:26 AM EDT
http://stackoverflow.com/questions/16346212/can-you-change-one-colour-to-another-in-an-bitmap-image
Jay S159 reputationPosted May 30, 2013, 10:43 AM EDT
When he calls it:
bmp.ChangeColour(0,128,0,0,0,0);
This doesn't work as "ChangeColour" isn't and extension of Bitmap...
Guess i will keep googling.
Jay S159 reputationPosted May 30, 2013, 11:03 AM EDT
VulpesRank #55 · 29.2K reputationPosted May 30, 2013, 11:12 AM EDT