[Mono-bugs] [Bug 80323][Nor] Changed - Incorrect ColorMatrix alpha processing

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 21 05:57:56 EST 2006

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 gert.driesen at pandora.be.


--- shadow/80323	2006-12-21 04:41:42.000000000 -0500
+++ shadow/80323.tmp.30221	2006-12-21 05:57:56.000000000 -0500
@@ -138,6 +138,44 @@
 the last release of Mono. I reported it on #80324.
 I use ColorMatrix processing quite extensively in the courseware I 
 develop (mostly for Fade-in, fade-out effects, or image blending), 
 and this will solve a lot of visual quirks I was getting when 
 running on Mono.
+------- Additional Comments From gert.driesen at pandora.be  2006-12-21 05:57 -------
+I modified Jose's test case (see attachments) to get it to build on 
+Mono (mcs bug, and removed dependency on 2.0 profile), and I almost 
+always get an ArgumentNullException when I stop the app:
+Unhandled Exception: System.ArgumentNullException: Argument cannot 
+be null.
+Parameter name: image
+  at System.Drawing.Graphics.FromImage (System.Drawing.Image image) 
+  at MainForm.timerBlending_Tick (System.Object sender, 
+System.EventArgs e) [0x00000] 
+  at (wrapper delegate-invoke) 
+  at System.Windows.Forms.Timer.OnTick (System.EventArgs e) 
+  at System.Windows.Forms.Timer.FireTick () [0x00000] 
+  at (wrapper remoting-invoke-with-check) 
+System.Windows.Forms.Timer:FireTick ()
+  at System.Windows.Forms.XplatUIX11.CheckTimers 
+(System.Collections.ArrayList timers, DateTime now) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue 
+(System.Windows.Forms.XEventQueue queue) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object 
+queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 
+wFilterMin, Int32 wFilterMax) [0x00000] 
+  at System.Windows.Forms.XplatUI.GetMessage (System.Object 
+queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 
+wFilterMin, Int32 wFilterMax) [0x00000] 
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal, 
+System.Windows.Forms.ApplicationContext context) [0x00000] 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form 
+mainForm) [0x00000] 
+  at MainForm.Main () [0x00000] 
+It works fine on MS though.

More information about the mono-bugs mailing list