Method ImageSourceFromImage
ImageSourceFromImage(Image?)
Converts an Image to an SKBitmapImageSource.
public static SKBitmapImageSource? ImageSourceFromImage(Image? image)
Parameters
image
ImageThe image to convert.
Returns
- SKBitmapImageSource
An SKBitmapImageSource if the image is not null; otherwise, null.