32 Bit PNG and Transparency

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to use 32 bit png as images for toolbar control in my windows forms application

They seems to be drawn correctly when I load them in my ImageList Control, but when I select one of them as toolbar button image, transparency is not rendered correctly: all my Icons have some sort of blue "halo" around them

Does someone have some advice for me?
 
* "=?Utf-8?B?Q3JhZA==?= said:
I'm trying to use 32 bit png as images for toolbar control in my windows forms application.

They seems to be drawn correctly when I load them in my ImageList
Control, but when I select one of them as toolbar button image,
transparency is not rendered correctly: all my Icons have some sort of
blue "halo" around them.

If you are referring to an alpha channel -- this doesn't currently
work with PNG files in .NET.
 
Well lets say it sort of works. If I load a png (32bppArgb) in a
picturebox it shows correctly, but trying to use them in an imagelist
does not. The workarounds I have seen don't seem to be worth all the
bother, they are very 'worky' indeed!
 
Yes there is a problem with Alpha in ImageLists. It is still a problem in
VS2005 and I have reported it as a bug.
 
Back
Top