Test if Pixel is Transparent
Hi all,
I am trying to write an application in which I will have several png images I load in. They are all essentially masks, but based on user input, I want to change the color of them. I determined that the easiest way would probably be to test if the pixel was transparent, and if it was ignore it, but if the pixel was opaque, change the color of it.
The only problem is that I have know idea of how to do this. Thanks in advance!
|