Data-Pixels
Data-Pixels copied to clipboard
Saving generated pictures
Hi, Thank you for this, works great and you are awesome! I have a question though. Is there an easy way to save the generated files as jpeg or png?
I'm also interested in this. A utility that generates a .png or .jpeg and saves it to a folder would be amazing.
You could run a Node.js script which pipes the image output into an actual file https://stackoverflow.com/questions/43487543/writing-binary-data-using-node-js-fs-writefile-to-create-an-image-file
Or further process the image before storing, by using a library such as https://sharp.pixelplumbing.com/