toPNG

fun toPNG(options: ToPNGOptions = definedExternally): Buffer(source)

A Buffer that contains the image's PNG encoded data.