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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=75508

--- shadow/75508        2005-07-10 06:21:39.000000000 -0400
+++ shadow/75508.tmp.12462      2005-08-24 05:44:50.000000000 -0400
@@ -5,13 +5,13 @@
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Sys.Drawing.
-AssignedTo: [EMAIL PROTECTED]                            
+AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: Misleading OutOfMemoryException on Bitmap constructor if file not 
found
@@ -35,6 +35,19 @@
 Additional Information:
 
 ------- Additional Comments From [EMAIL PROTECTED]  2005-07-10 06:21 -------
 The problem is that Mono uses GdipLoadImageFromFile while MS uses 
 GdipCreateBitmapFromFile and these functions have different 
 behaviour at least regarding error codes.
+
+------- Additional Comments From [EMAIL PROTECTED]  2005-08-24 05:44 -------
+This bug should be solved in libgdiplus by renaming (seems to need 
+no modification) GdipLoadImageFromFile to GdipCreateBitmapFromFile. 
+Then GdipCreateBitmapFromFile can be used in System.Drawing that 
+will result in correct exception on Windows.
+
+To get the correct exception on Linux as well OutOfMemory has to be 
+returned instead of FileNotFound by libgdiplus in 
+GdipCreateBitmapFromFile.
+
+I have no test environment for libgdiplus so I'm reassigning this 
+bug to [EMAIL PROTECTED]
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to