pdf-lib icon indicating copy to clipboard operation
pdf-lib copied to clipboard

Need a method to get the DPI of a PDF Page

Open sayo96 opened this issue 8 months ago • 0 comments

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 avatar Jun 13 '24 07:06 sayo96