Method ToRuntimeImageAsync
ToRuntimeImageAsync(ImageSource)
Converts a native platform image to a runtime image data container type
Declaration
public static async Task<RuntimeImage> ToRuntimeImageAsync(this ImageSource image)
Parameters
Type | Name | Description |
---|---|---|
ImageSource | image | The input input |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<RuntimeImage> | Image data container |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |