Electron salve a imagem do blob no disco

const fs = require('fs')

async function saveBlobToFile(blob) {
  let fileData = new Int8Array(await blob.arrayBuffer());
  fs.writeFileSync("filepath.png", fileData);
}
Krushn