public static SKImage FromBitmap (SKBitmap bitmap) { if (bitmap == null) throw new ArgumentNullException (nameof (bitmap)); var handle = SkiaApi.sk_image_new_from_bitmap (bitmap.Handle); return GetObject<SKImage> (handle); }