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

Option to convert a Buffer or Base64 #72

Closed
qubiack opened this issue Aug 27, 2020 · 4 comments
Closed

Option to convert a Buffer or Base64 #72

qubiack opened this issue Aug 27, 2020 · 4 comments
Assignees
Projects

Comments

@qubiack
Copy link

qubiack commented Aug 27, 2020

It would be nice to create an option to pass Buffer or base64 string a source instead of file_path. It can be useful when users create a PDF file and this file is never save on disc.

As far as I know, actually the library to convert PDF to image with Buffer or base64 input doesn't exist so it will be a huge advantage.

@mateojovani
Copy link

Yes, I also came to request this. I have a use case where I use puppeteer to generate pdf as a buffer and I'd prefer to pass to pdf2pic a buffer rather than generating an actual pdf file just to comply with pdf2pic API

@yakovmeister yakovmeister self-assigned this Sep 8, 2020
@yakovmeister yakovmeister added this to Backlogs in pdf2image 2 Sep 8, 2020
@yakovmeister yakovmeister moved this from Backlogs to To do in pdf2image 2 Sep 9, 2020
@yakovmeister yakovmeister moved this from To do to In Progress in pdf2image 2 Sep 10, 2020
@yakovmeister yakovmeister moved this from In Progress to Test in pdf2image 2 Sep 12, 2020
@yakovmeister yakovmeister moved this from Test to Done in pdf2image 2 Sep 13, 2020
@qubiack
Copy link
Author

qubiack commented Sep 13, 2020

@yakovmeister when do you plan a new release with this feature?

@yakovmeister
Copy link
Owner

@qubiack, I released new version, it's on early stage though but it's worth giving it a try.

@mateojovani
Copy link

@yakovmeister I tried bulk converting from pdf Buffer. Seems to be working great 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
pdf2image 2
  
Done
Development

No branches or pull requests

3 participants