createFromBitmap

fun createFromBitmap(buffer: Buffer<ArrayBuffer>, options: CreateFromBitmapOptions): NativeImage(source)