Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable Transparent of an image

Status
Not open for further replies.

sony2000

Programmer
Dec 7, 2003
34
0
0
HK
Hi,

I use a bitmap object to load a gif image and its pixel values
are retrieved by GetPixel() function. However, the gif contains a transparent color and GetPixel() ignores the transparent color property. Does anyone know to enable transparent property in bitmap object, I know there is a bitmap.MakeTransparent() function but it requires a color to be defined for transparency before it can work.
Does anyone know how to get transparent color of a bitmap/gif?

Thanks for your kind attention,
Raymond
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top