This topic is now archived and is closed to further replies.


Color question

Recommended Posts

skullfire    357
Yeah..i have exactly the same problem...what I did was to make a function that will make an alpha value out of the original image(i used BMPs)... for example, as you may know, AUXDIBIMAGEREC is a struct with sizeX, sizeY, and data. The data can be interpreted as RGB grouped bytes... Now, you can decompose this data to make it have an alpha, and then compare each color with the one you have in mind...then set the alpha to 255.
Thats how I do it at least.... i hope I can change this later on.

Share this post

Link to post
Share on other sites