AppleExtensions.ToSKBitmap(CGImage) Method

Definition

Converts a CoreGraphics image into a SkiaSharp bitmap.

public static SkiaSharp.SKBitmap ToSKBitmap (this CoreGraphics.CGImage cgImage);

Parameters

cgImage
CGImage

The CoreGraphics image.

Returns

Returns a copy of the image data as a SkiaSharp bitmap.

Applies to