In Electron, for the APIs that take images, you can pass either file paths or NativeImage instances.
NativeImage
<img src={someNativeImg.toDataURL()} />
Last updated 5 years ago