I'd like the ability to work directly with binary buffers instead of files.
I'm generating PNGs into binary buffers (instead of files) and serving that directly to the web browser via node's res.write(buffer,'binary');. I'd like to convert that buffer to webp before sending it to the web browser. I'd like to do all of this without writing files to the file system.
Am I over looking this in the API? If not, I'm requesting support for this.
I'd like the ability to work directly with binary buffers instead of files.
I'm generating PNGs into binary buffers (instead of files) and serving that directly to the web browser via node's
res.write(buffer,'binary');
. I'd like to convert that buffer to webp before sending it to the web browser. I'd like to do all of this without writing files to the file system.Am I over looking this in the API? If not, I'm requesting support for this.