Project: SWT
Bug 97046 PNG images look corrupt as main window icon
Reported: 2005-05-27 14:16:18 | Status: resolved fixed

I am using 3.1 M7. When I load a 16*16 PNG file as an image and display it on a canvas all is well. When I set the same image to top level shell I see a corrupt image in the top left corner of the window. The issue seems to be related to the handling of transparent and semi-transparent pixels.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java