public static NSImage ToNSImage(this SKPicture skiaPicture, SKSizeI dimensions) { var cgImage = skiaPicture.ToCGImage(dimensions); return(new NSImage(cgImage, CGSize.Empty)); }
public static UIImage ToUIImage(this SKPicture skiaPicture, SKSizeI dimensions, nfloat scale, UIImageOrientation orientation) { var cgImage = skiaPicture.ToCGImage(dimensions); return(new UIImage(cgImage, scale, orientation)); }
public static CIImage ToCIImage(this SKPicture skiaPicture, SKSizeI dimensions) { return(skiaPicture.ToCGImage(dimensions)); }
public static UIImage ToUIImage(this SKPicture skiaPicture, SKSizeI dimensions) { var cgImage = skiaPicture.ToCGImage(dimensions); return(new UIImage(cgImage)); }