You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically, when using ImageList = new ImageList { ColorDepth = ColorDepth.Depth32Bit }; the image list still creates a mask which causes poor anti aliasing on transparent pixels in the bitmap.
The fix in that article is to manually call windows ImageList_Add without the mask. I've tested this in .NET 10 and the fix works and fixes icons having bad transparency in trees/lists/tabs.
before:
after:
look closely, you can see gray pixels when not using the fix
Steps to reproduce
Create a imagelist, add it to a treeview, and add a bitmap image that has transparent pixels (not fully transparent)