Transparents images in VB .Net

leazfe

New member
Joined
Apr 20, 2004
Messages
4
Location
Sevilla, Espa
I have a couple of transparent image(.png), but when i use it (by a pictureImage control)in VB they lose this property. Does anyone know why? I have read, it was possible in VB 6 by using imageBox control but there isn
 
Hi,

1.
Im not sure - but make sure you use the same PixelFormat of the Screen and the Bitmap.

2. The Bitmap have a function called: .MakeTransperent(Color) - it will make any color you want to be Transperent regardless the .PNG transperent color.

3. Im drawing .PNG with transperent color with no problem.

4. Check the Transprency / ColorKey in teh properties.

LDV
 
Back
Top