Im just trying to do a simple recolour on an image. Basically i have an image and a custom control that has R/G/B sliders, i want to recolour the image pixel by pixel, pretty much like doing a colour overlay on it.
I did something like this in C++ years ago but i cant remember how i did it, i tried doing:
Yep, although it comes out as an int i convert it into a colour then recolour and pass it back in.
Im thinking that maybe the problem is that im not storing the original image, just a static image that contains the changes, so after a while it will get washed out as it will lose 1/2 its colour every change. So i may need to update that, but im still not sure off top of my head if my method is correct...