[Mono-list] Image.FromStream Patch

David Mitchell david.mitchell@telogis.com
Fri, 19 Mar 2004 10:13:29 +1300

I have written a patch to add the Image.FromStream method to Mono.

Index: Image.cs
RCS file: /mono/mcs/class/System.Drawing/System.Drawing/Image.cs,v
retrieving revision 1.31
diff -r1.31 Image.cs
 >       public static Image FromStream (Stream stream)
 >       {
 >               return new Bitmap (stream);
 >       }
 >       public static Image FromStream (Stream stream, bool useECM)
 >       {
 >               return new Bitmap (stream, useECM);
 >       }

David Mitchell
Software Engineer

This message (including any attachments) contains CONFIDENTIAL
INFORMATION intended for a specific individual and purpose, and
is protected by law.  If you are not the intended recipient,
you should delete this message and are hereby notified that any
disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited.