ElectronNativeImage.toDataURL method
ElectronNativeImage › toDataURL
Unofficial
Returns the data URL of the image.Signature:
toDataURL(options?: ElectronNativeImageScaleFactorOptions | undefined): stringParameters:
| Parameter | Type | Description |
|---|---|---|
| options? | ElectronNativeImageScaleFactorOptions | undefined | Options for the conversion including scaleFactor. |
Returns: string — The data URL string.