[Mono-bugs] [Bug 461323] Mono displays the 16-color icon (ico) rather than the 32-bit one, on the program window

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat May 23 13:16:49 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=461323

User stifu at free.fr added comment
http://bugzilla.novell.com/show_bug.cgi?id=461323#c10





--- Comment #10 from Thomas Goldstein <stifu at free.fr>  2009-05-23 11:16:47 MDT ---
I had a look at the Icon class in System.Drawing.
With the icon of the test case, in the BuildBitmapOnWin32() method, a
Format4bppIndexed Bitmap is created because bih.biBitCount equals 4, while it
should be 32.

No idea what to do from there.

By the way, I think it'd be nice if libgdiplus worked on Windows, so as to stop
relying on GDI+. That'd make Mono more consistent across platforms, and would
remove the need to fork the code for GDI+ and libgdiplus (as can be seen in the
GetInternalBitmap() method of the Icon class).

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list