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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
