change individual colour of an image to another
BlitzMax Forums/BlitzMax Beginners Area/change individual colour of an image to another
| ||
Hi Fellas Is it possible to change an individual colour of an image to another colour? If yes, how? Cheers |
| ||
Not using the normal command set. You could read the pixels in the imange and change them that way. |
| ||
you basically would have to 'search and replace' a given pixel value. |
| ||
You *could* set the mask colour to the pixel colour then draw it over a rect the same size that is the actual colour you want then grab it. |
| ||
Thanks very much for your suggestions guys. |
| ||
Here's some code I use |