[Mono-bugs] [Bug 80276][Min] Changed - Bitmap created from FileStream throws error

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jan 17 09:11:54 EST 2007


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=80276

--- shadow/80276	2007-01-17 09:07:03.000000000 -0500
+++ shadow/80276.tmp.31022	2007-01-17 09:11:54.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 80276
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: REOPENED   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTXIMIAN
 Severity: Unknown
 Priority: Minor
 Component: Sys.Drawing.
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: hamid.qureshi at gmail.com               
 QAContact: mono-bugs at ximian.com
@@ -73,6 +73,18 @@
 	}
 }
 
 Your filename selection indicates you're running under Windows. Could
 you provide more information ? (e.g. mono version, OS ...) and/or a
 different test case ?
+
+------- Additional Comments From sebastien at ximian.com  2007-01-17 09:11 -------
+This looks related to the URL given inside bug #80151.
+http://groups.google.com/group/microsoft.public.win32.programmer.gdi/browse_thread/thread/4967097db1469a27/4d36385b83532126?lnk=st&q=IStream+gdi&rnum=3&hl=en#4d36385b83532126
+
+Under Win32 (MS GDI+) you must keep the original stream alive for the
+life of the image/bitmap object. Otherwise you'll run into problems,
+Mono or MS. My guess is that you're lucky this particular case works
+with MS System.Drawing.
+
+This problem doesn't exists under UNIX as libgdiplus doesn't lazy load
+bitmaps and so doesn't require the stream to be available.


More information about the mono-bugs mailing list