[Mono-bugs] [Bug 78166][Wis] Changed - Image.FromFile gives
ambiguous exception
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Apr 26 16:27:13 EDT 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 sebastien at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78166
--- shadow/78166 2006-04-25 12:10:26.000000000 -0400
+++ shadow/78166.tmp.21874 2006-04-26 16:27:13.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 78166
Product: Mono: Class Libraries
Version: 1.1
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Wishlist
Component: libgdiplus
AssignedTo: peter at novonyx.com
ReportedBy: scottell.lists at gmail.com
QAContact: mono-bugs at ximian.com
@@ -74,6 +74,13 @@
------- Additional Comments From kornelpal at hotmail.com 2006-04-25 12:10 -------
I think that we should trow the same exception
(OutOfMemoryException) when the image format is not supported as
MS.NET does because if we throw different exception this fact cannot
be determined. I know that OutOfMemoryException is very strange for
this status but I think compatibility is important in this situation.
+
+------- Additional Comments From sebastien at ximian.com 2006-04-26 16:27 -------
+Fixed in SVN (r59945).
+
+I verified that the OutOfMemoryException occurs for multiple kind of
+files (i.e. it's not just an unlucky case) and Peter verified it
+directly from unmanaged code (GDI+ on Windows).
More information about the mono-bugs
mailing list