toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-electron
/
electron.core
/
NativeImage
/
toPNG
to
PNG
fun
toPNG
(
options
:
ToPNGOptions
=
definedExternally
)
:
Buffer
(
source
)
A Buffer that contains the image's
PNG
encoded data.