[Mono-bugs] [Bug 74868][Nor] New - Color.GetBrightness and GetSaturation return wrong values
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 8 May 2005 09:28:06 -0400 (EDT)
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 juraj@hotfeet.ch.
http://bugzilla.ximian.com/show_bug.cgi?id=74868
--- shadow/74868 2005-05-08 09:28:06.000000000 -0400
+++ shadow/74868.tmp.27768 2005-05-08 09:28:06.000000000 -0400
@@ -0,0 +1,26 @@
+Bug#: 74868
+Product: Mono: Class Libraries
+Version: 1.1
+OS:
+OS Details: FC3
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: gonzalo@ximian.com
+ReportedBy: juraj@hotfeet.ch
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Color.GetBrightness and GetSaturation return wrong values
+
+Color.GetBrightness and Color.GetSaturation return wrong values.
+
+The attached test case gives different values on MS.NET and Mono.
+
+Color.Black.GetBrightness() -> 0.0020833
+Color.White.GetBrightness() -> 1.0020833
+
+is clearly wrong.