webp-converter
webp-converter copied to clipboard
Support for Converting From Binary Buffer to WEBP
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.
+1 I have a very similar requirement and would appreciate if this feature is added!
Did you find an answer? I'm currently trying to convert base64 data into png binary buffer without writing to the file system