[Mono-bugs] [Bug 58885][Nor] Changed - Graphics class is drawing with wrong colors

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 25 May 2004 11:01:49 -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 domo@domnanovits.at.


--- shadow/58885	2004-05-25 09:41:27.000000000 -0400
+++ shadow/58885.tmp.26914	2004-05-25 11:01:49.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 58885
 Product: Mono: Class Libraries
 Version: unspecified
 OS: Mac OS X 10.3
 OS Details: Mac OS X 10.3.3
-Status: NEEDINFO   
+Status: REOPENED   
 Severity: Unknown
 Priority: Normal
 Component: Sys.Drawing.
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: domo@domnanovits.at               
@@ -54,6 +54,22 @@
 Could you please provide us some details about the behavior that you 
 are getting for other ImageFormats like JPEG, GIF etc ? This would 
 help us in pinpointing the problem.
 ------- Additional Comments From rkumar@novell.com  2004-05-25 09:41 -------
 Changing status to NeedInfo.
+------- Additional Comments From domo@domnanovits.at  2004-05-25 11:01 -------
+Gif,  Bmp and Tiff throw an "System.NotImplementedException: Feature not implemented" 
+exception. Currenty only Png and Jpeg seem to work.
+I did some testing with Png and Jpeg printing the A, R, G and B Properties of the 
+Color structure to the Console.
+Color.Blue returns Color Values A=255, R=0, G=0, B=255.
+Both the jpeg and the png are perfect blue images.
+Color.Red returns Color Values A=255, R=255, G=0, B=0.
+Png is transparent, the jpeg has the RGB color 0,255,255 which makes it aqua.
+Color.Green returns Color Color Values A=255, R=0, G=128, B=0.
+This is strange, i would have G expexted to be 255.
+Png is transparent, jpeg has RGB value 127, 0, 255