showing results for - "electron save blob image to disk"
Tommaso
17 Oct 2020
1const fs = require('fs')
2
3async function saveBlobToFile(blob) {
4  let fileData = new Int8Array(await blob.arrayBuffer());
5  fs.writeFileSync("filepath.png", fileData);
6}
similar questions
queries leading to this page
electron save blob image to disk