gpu.js
gpu.js copied to clipboard
gpu.js image to jpeg?
Is there any way to make an image in gpu.js and make it into a file or put the image in a buffer?
Using nodejs, not the browser.
I think you can use the built in canvas support and then use toDataURL(). https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL