[Mono-bugs] [Bug 55004][Wis] New - Bitmap class doesn't seem to work

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 29 Feb 2004 12:38:04 -0500 (EST)

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 nigel@hresult.com.


--- shadow/55004	2004-02-29 12:38:04.000000000 -0500
+++ shadow/55004.tmp.1688	2004-02-29 12:38:04.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 55004
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Red Hat 9.0
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Drawing.
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: nigel@hresult.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Bitmap class doesn't seem to work
+Description of Problem:
+The Bitmap() class doesn't seem to work
+Steps to reproduce the problem:
+1. Use the rpms from 0.30 to install cairo, gdiplus and lilbpixman
+2. Write code that uses something like :
+Bitmap b2 = new Bitmap(100,100);
+3. Run the program
+Actual Results:
+Unhandled Exception: System.ArgumentException: Could not allocate the 
+GdiPlus image: InvalidParameter
+in <0x00122> System.Drawing.Bitmap:.ctor 
+in <0x0001a> System.Drawing.Bitmap:.ctor (int,int)
+in <0x00061> (wrapper remoting-invoke-with-check) 
+System.Drawing.Bitmap:.ctor (int,int)
+in <0x000ae> TestBmp.Class1:Main (string[])
+Expected Results:
+Created bitmap...
+How often does this happen? 
+Every time
+Additional Information:
+The construct-from-file constructor (new Bitmap("woo.jpeg")) works 
+correctly it seems.