Open DoormatIka opened 2 years ago
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
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.