Image.FromStream
Contents
[
Hide
]FromStream(Stream)
Creates an Image from the specified data stream.
public static Image FromStream(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | A Stream that contains the data for this Image. |
Return Value
The Image this method creates.
See Also
- class Image
- namespace System.Drawing
- assembly Aspose.Drawing
FromStream(Stream, bool)
Creates an Image from the specified data stream, optionally using embedded color management information in that stream.
public static Image FromStream(Stream stream, bool useEmbeddedColorManagement)
Parameter | Type | Description |
---|---|---|
stream | Stream | A Stream that contains the data for this Image. |
useEmbeddedColorManagement | Boolean | true to use color management information embedded in the data stream; otherwise, false. |
Return Value
The Image this method creates.
See Also
- class Image
- namespace System.Drawing
- assembly Aspose.Drawing