toBitmap

fun toBitmap(options: ToBitmapOptions = definedExternally): Buffer(source)

A Buffer that contains a copy of the image's raw bitmap pixel data.