Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Converting From Binary Buffer to WEBP #23

Open
Lonniebiz opened this issue Apr 27, 2020 · 2 comments
Open

Support for Converting From Binary Buffer to WEBP #23

Lonniebiz opened this issue Apr 27, 2020 · 2 comments

Comments

@Lonniebiz
Copy link

Lonniebiz commented Apr 27, 2020

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 Lonniebiz mentioned this issue Apr 27, 2020
@abdatta
Copy link

abdatta commented Jul 21, 2020

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

@valbofs
Copy link

valbofs commented Nov 19, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants