webp-converter icon indicating copy to clipboard operation
webp-converter copied to clipboard

Support for Converting From Binary Buffer to WEBP

Open Lonniebiz opened this issue 4 years ago • 2 comments

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.

Lonniebiz avatar Apr 27 '20 04:04 Lonniebiz

+1 I have a very similar requirement and would appreciate if this feature is added!

abdatta avatar Jul 21 '20 11:07 abdatta

Did you find an answer? I'm currently trying to convert base64 data into png binary buffer without writing to the file system

valbofs avatar Nov 19 '22 19:11 valbofs