public static SKImage FromPixels (SKImageInfo info, IntPtr pixels, int rowBytes)
{
if (pixels == IntPtr.Zero)
throw new ArgumentNullException (nameof (pixels));
var handle = SkiaApi.sk_image_new_raster_copy (ref info, pixels, (IntPtr) rowBytes);
return GetObject<SKImage> (handle);
}