AppleExtensions.ToSKImage(CGImage) Method

Definition

Converts a CoreGraphics image into a SkiaSharp image.

public static SkiaSharp.SKImage ToSKImage (this CoreGraphics.CGImage cgImage);

Parameters

cgImage
CGImage

The CoreGraphics image.

Returns

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

Applies to