I have a custom Node.JS addon that transfers a jpg capture to my application which is working great - if I write the buffer contents to disk, it\'s a proper jpg image, as ex
You need to add img to the DOM.
img
Also if you are generating the buffer in the main process you need to pass it on the the render process of electron.