Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving generated pictures #20

Open
hatyak opened this issue Jul 26, 2021 · 2 comments
Open

Saving generated pictures #20

hatyak opened this issue Jul 26, 2021 · 2 comments

Comments

@hatyak
Copy link

hatyak commented Jul 26, 2021

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?

@znwhite
Copy link

znwhite commented Aug 5, 2021

I'm also interested in this. A utility that generates a .png or .jpeg and saves it to a folder would be amazing.

@michelbio
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants