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 |
|---|---|---|
| System.Windows.Media.ImageSource | image | The input input |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<RuntimeImage> | Image data container |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Windows | 100.13 - 200.8 |
| .NET Framework | 100.0 - 200.8 |