SKBitmap.FromImage(SKImage) Method

Definition

Creates a new bitmap from a copy of the pixel data in the specified image.

public static SkiaSharp.SKBitmap FromImage (SkiaSharp.SKImage image);

Parameters

image
SKImage

The image to use to create a bitmap.

Returns

Returns a new instance of SKBitmap, or null if the bitmap could not be created.

Applies to