D
Danyel Meyer - dialog-it GmbH
Hallo NG!
I have a problem with displaying transparent images in PNG or ICO format in
a PicturBox or other controls that can display images.
The problem is, even if the image file is saved with transparency (PNG file
24bit or ICO file), if the background-color of the control or whatever lies
behind the image is not white, the image is displayed with a white box
surrounding it, which is quite annoying.
I´ve even tried to save a PNG with a transparent background defined for
black backgrounds, put it in a PictureBox on a black form, and still a white
box surrounds it.
Any (hopefully simple) way to get my PNGs or ICOs displayed with
transparency? They will be located in an ImageList or as embedded ressources
that fill an ImageList in Sub New() in a VB.NET project...
Many thanks in advance,
--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine
Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail (e-mail address removed)
I have a problem with displaying transparent images in PNG or ICO format in
a PicturBox or other controls that can display images.
The problem is, even if the image file is saved with transparency (PNG file
24bit or ICO file), if the background-color of the control or whatever lies
behind the image is not white, the image is displayed with a white box
surrounding it, which is quite annoying.
I´ve even tried to save a PNG with a transparent background defined for
black backgrounds, put it in a PictureBox on a black form, and still a white
box surrounds it.
Any (hopefully simple) way to get my PNGs or ICOs displayed with
transparency? They will be located in an ImageList or as embedded ressources
that fill an ImageList in Sub New() in a VB.NET project...
Many thanks in advance,
--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine
Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail (e-mail address removed)