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

PDF displays white when rendering in Node on higher scales #2459

Open
niels-van-den-broeck opened this issue Nov 18, 2024 · 0 comments
Open

Comments

@niels-van-den-broeck
Copy link

niels-van-den-broeck commented Nov 18, 2024

Repro
https://github.com/niels-van-den-broeck/pdf-node

Versions
"pdfjs-dist": "4.7.76"
"canvas": "2.11.2"

Description
This specific PDF seems to have issues in NodeJS (tested on v20.17.0) when rendered on a scale above 1.5.
Reproduction steps and the source PDF are given in the linked repository.

Expected result
The PDF page is rendered in the image output when scaling 1.6x.

Actual result
A white image is generated with the correct dimensions.

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

1 participant