Link to home
Start Free TrialLog in
Avatar of themask
themask

asked on

Retrieving an individual pixel color from a bitmap.

I am working with an application in which the bitmaps need to be drawn transparently (one color is not drawn) so that they will match whatever background they are on.  I have the transparency functionality working and now would like to modify it to select one of the corner pixels to be the color that is removed.  Currently I am hard coding the value of the color I don't want drawn.  I am looking for a method of retrieving a pixel color from a bitmap given a handle to the bitmap.
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of themask
themask

ASKER

Thanks.