Constructor RuntimeImage
RuntimeImage(Uri)
Initializes a new instance of the RuntimeImage class from a Uri
Declaration
public RuntimeImage(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | uri | Local file or online uri |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
RuntimeImage(Byte[])
Initializes a new instance of the RuntimeImage class from an encoded image buffer
Declaration
public RuntimeImage(byte[] image)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | image | Encoded image data |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
RuntimeImage(ReadOnlySpan<Byte>)
Initializes a new instance of the RuntimeImage class from an encoded image buffer
Declaration
public RuntimeImage(ReadOnlySpan<byte> image)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlySpan<System.Byte> | image | Encoded image data |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |