ElectronNativeImage.toBitmap method
ElectronNativeImage › toBitmap
Unofficial
Returns a buffer that contains a copy of the image's raw bitmap pixel data.Signature:
toBitmap(options?: ElectronNativeImageScaleFactorOptions | undefined): BufferParameters:
| Parameter | Type | Description |
|---|---|---|
| options? | ElectronNativeImageScaleFactorOptions | undefined | Options for the bitmap conversion including scaleFactor. |
Returns: Buffer — The bitmap buffer.