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

Can I convert to JPG and save to filesystem in Node? #213

Closed
Konglomneshued opened this issue May 15, 2023 · 1 comment · Fixed by #229
Closed

Can I convert to JPG and save to filesystem in Node? #213

Konglomneshued opened this issue May 15, 2023 · 1 comment · Fixed by #229
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@Konglomneshued
Copy link

It's not really clear how to use the document returned from the pdf function call. It's not mentioned what type of image is created either.

@k-yle k-yle added documentation Improvements or additions to documentation good first issue Good for newcomers labels May 15, 2023
@ve3
Copy link

ve3 commented Oct 11, 2023

I agree to see simple example without jest-image-snapshot.

For example

for await (const page of await pdf("example.pdf")) {
    // what to do with `page`?
}

@k-yle k-yle linked a pull request Oct 17, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants