Thanks to the help of the community, I have a blob object: var blobObj = new Blob([pixels.bytes.getData()], {type: "image/png"});
What’s the best way to save this png to somewhere on your local computer? FYI, this application would only run on your local machine.
I attempted to use this:
Which saves everything to your downloads folder, which is better than nothing. But it only seemed to work on a text file. Using the png blob example above, it just pumped out a png that says unsupported type when opened.