[Mono-bugs] [Bug 76562][Nor] New - 32-bit BMPs should be loaded as Format32bppRgb

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Oct 26 10:48:24 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by kornelpal at hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76562

--- shadow/76562	2005-10-26 10:48:24.000000000 -0400
+++ shadow/76562.tmp.22327	2005-10-26 10:48:24.000000000 -0400
@@ -0,0 +1,27 @@
+Bug#: 76562
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: libgdiplus
+AssignedTo: jordi at ximian.com                            
+ReportedBy: kornelpal at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: 32-bit BMPs should be loaded as Format32bppRgb
+
+Currently libgdiplus loads 32-bit bitmaps as Format32bppArgb.
+
+MS GDI+ loads them as Format32bppRgb. Neither GetPixel nor Graphics uses 
+alpha channel for Format32bppRgb but alpha channel is preserved in memory 
+and can be accessed using LockBits even when locking with Format32bppRgb. 
+(I think locking in format other than the format of bitmap is not 
+supported by MS GDI+.)
+
+libgdiplus should do the same.


More information about the mono-bugs mailing list