Skip to content

ElectronCreateFromBitmapOptions

Unofficial

Options for nativeImage.createFromBitmap.

Import:

import type { ElectronCreateFromBitmapOptions } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronCreateFromBitmapOptions

Properties

Property Type Description
height number The height of the bitmap, in pixels.
scaleFactor? number The scale factor of the bitmap.
width number The width of the bitmap, in pixels.