https://bugzilla.novell.com/show_bug.cgi?id=338779#c3


Gert Driesen <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]




--- Comment #3 from Gert Driesen <[EMAIL PROTECTED]>  2007-11-05 10:51:46 MST 
---
The patch should be reverted. However, we should no longer reset a stream when
we're saving an image to a stream.

To reproduce, compile and run the attached test case.

Expected result:

The following output is written to the console:
[ImageFormat: b96b3cab-0728-11d3-9d7b-0000f81ef32e]

Actual result:

Unhandled Exception: System.ArgumentException: A null reference or invalid
value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] 
  at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] 
  at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean
keepAlive) [0x00000] 
  at System.Drawing.Image.FromStream (System.IO.Stream stream) [0x00000] 
  at Program.LoadTest () [0x00000] 
  at Program.Main () [0x00000] 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to