Original Post
I am doing animation with directx and im having a problem with the colorkey features of the textureload.fromfile() method. im using c# and the .NET framework by the way. the problem is this, the format they want is and int type and the only way i can identify the color is through paint .net program wich gives it to me in hex and also the individual componets. (r,g,b,a). my question is two fold. can i convert a argb color or hex into and int or is there anyway to directly get the color int through a getpixel like fucntion? any help would be appreciated because i have all my artwork and i would take years to go through and manually paint the transparent areas into a color i can get to work.