[Mono-bugs] [Bug 80681][Nor] Changed - After a bitmap is locked for ReadWrite the image is damaged using the PixelFormat Format24bppRgb.
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jan 31 12:44:44 EST 2007
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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80681
--- shadow/80681 2007-01-30 19:09:30.000000000 -0500
+++ shadow/80681.tmp.15382 2007-01-31 12:44:44.000000000 -0500
@@ -5,13 +5,13 @@
OS Details:
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
Component: libgdiplus
-AssignedTo: mono-bugs at ximian.com
+AssignedTo: sebastien at ximian.com
ReportedBy: bernd.amend at googlemail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: After a bitmap is locked for ReadWrite the image is damaged using the PixelFormat Format24bppRgb.
@@ -119,6 +119,10 @@
bitmap.UnlockBits(bmData);
bitmap.Save("testfile-invalid.png",ImageFormat.Png); // image is
incorrect
}
}
+
+------- Additional Comments From sebastien at ximian.com 2007-01-31 12:44 -------
+For your first sample the problem occurs when unlocking. Commenting
+the UnlockBits produce a correct output bitmap.
More information about the mono-bugs
mailing list