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

Need a method to get the DPI of a PDF Page #1637

Open
sayo96 opened this issue Jun 13, 2024 · 0 comments
Open

Need a method to get the DPI of a PDF Page #1637

sayo96 opened this issue Jun 13, 2024 · 0 comments

Comments

@sayo96
Copy link

sayo96 commented Jun 13, 2024

What are you working on?

I'm parsing a pdf using pdf-lib and then placing the parsed fields on a background image. It would be very helpful if I can find the DPI of the page as it would help me convert the pdf points, width and height of a pdf field from points to pixels

Additional Notes

I have been trying a lot to get the DPI but the documentation around it is not clear. Please help

@sayo96 sayo96 changed the title Hey guys, I was hoping to find a method which would give the DPI of pdf page Need a method to get the DPI of a PDF Page Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant