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 |