Simple one I guess, but how do I recolour a basic image?
I have a red button and I want to recolour it blue using something like Paint Shop Pro:
http://homepage.ntlworld.com/phykell/redbutton.jpg
If there was only one colour in the image it would be easy, I'd just repaint it with a blue colour but there are various shades of red on this button. Ideally, for each pixel I'd like to swap the red and blue values. Programatically I could get each .bmp RGB value and swap them for each pixel but there must be an easier way surely?
Pixel 1: 233, 0, 4 ---------> 4, 0, 233
Pixel 2: 243, 0, 2 ---------> 2, 0, 243
Pixel 3: 253, 0, 0 ---------> 0, 0, 253
I have a red button and I want to recolour it blue using something like Paint Shop Pro:
http://homepage.ntlworld.com/phykell/redbutton.jpg
If there was only one colour in the image it would be easy, I'd just repaint it with a blue colour but there are various shades of red on this button. Ideally, for each pixel I'd like to swap the red and blue values. Programatically I could get each .bmp RGB value and swap them for each pixel but there must be an easier way surely?
Pixel 1: 233, 0, 4 ---------> 4, 0, 233
Pixel 2: 243, 0, 2 ---------> 2, 0, 243
Pixel 3: 253, 0, 0 ---------> 0, 0, 253