[Mono-bugs] [Bug 76193][Nor] New - Bitmap.LockBits does not obey format24bppRgb

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 22 20:54:29 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 gestalt_73 at yahoo.com.

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

--- shadow/76193	2005-09-22 20:54:29.000000000 -0400
+++ shadow/76193.tmp.13941	2005-09-22 20:54:29.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 76193
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: libgdiplus
+AssignedTo: jordi at ximian.com                            
+ReportedBy: Gestalt_73 at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Bitmap.LockBits does not obey format24bppRgb
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Bitmap.LockBits provides a 32bit per pixel image when
+PixelFormat.Format24bppRgb is specified.
+
+Steps to reproduce the problem:
+1. run test program, which uses Bitmap.LockBits to lock image area to
+BitmapData
+2. check BitmapData.Stride
+
+Actual Results:
+RGB  Width=256 Stride=1024 which is 4 Bytes Stated PixelFormat of
+Format24bppRgb
+RGBA Width=256 Stride=1024 which is 4 Bytes Stated PixelFormat of
+Format32bppArgb
+
+
+
+Expected Results:
+RGB  Width=256 Stride=768 which is 3 Bytes Stated PixelFormat of Format24bppRgb
+RGBA Width=256 Stride=1024 which is 4 Bytes Stated PixelFormat of
+Format32bppArgb
+
+
+
+How often does this happen? 
+Every time
+
+Additional Information:
+Test Program run in Windows .net environment to verify correct behavior.


More information about the mono-bugs mailing list