PlatformImage.FromStream(Stream, ImageFormat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Microsoft.Maui.Graphics.IImage FromStream (System.IO.Stream stream, Microsoft.Maui.Graphics.ImageFormat format = Microsoft.Maui.Graphics.ImageFormat.Png);
static member FromStream : System.IO.Stream * Microsoft.Maui.Graphics.ImageFormat -> Microsoft.Maui.Graphics.IImage
Public Shared Function FromStream (stream As Stream, Optional format As ImageFormat = Microsoft.Maui.Graphics.ImageFormat.Png) As IImage
Parameters
- stream
- Stream
- format
- ImageFormat
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.