ok I have created a png in photoimpact and saved it WITH transparency.
in vb .net, I have set a form to first have the transparent color as "transparent" and then i set it to "magenta" and set the form color as "magenta" thus making the background transparent. however, when I apply a png as the background, any transparent areas comes out as black.
i have also tried using bmps and jpgs with magenta where the transparency shud be and it just shows up as magenta.
how do I get the transparency from the pngs to work in the background image of a form?
Question
bangbang023 Veteran
ok I have created a png in photoimpact and saved it WITH transparency.
in vb .net, I have set a form to first have the transparent color as "transparent" and then i set it to "magenta" and set the form color as "magenta" thus making the background transparent. however, when I apply a png as the background, any transparent areas comes out as black.
i have also tried using bmps and jpgs with magenta where the transparency shud be and it just shows up as magenta.
how do I get the transparency from the pngs to work in the background image of a form?
Link to comment
https://www.neowin.net/forum/topic/62275-vb-net-png-transparency-black/Share on other sites
9 answers to this question
Recommended Posts