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

getSize() gives wrong values #244

Open
antxDotDe opened this issue Jan 23, 2025 · 0 comments
Open

getSize() gives wrong values #244

antxDotDe opened this issue Jan 23, 2025 · 0 comments

Comments

@antxDotDe
Copy link

I have a PDF with 1300mm at 1800mm at 300dpi.
$pdf->getSize() returns for width: 612 and for height: 792
I expected something like: 15354 at 21260 (that is the png I get when $pdf->save() )

another PDF has 211,7mm at 139,3mm at 300dpi
$pdf->getSize() returns for width: 600 and for height: 395
I expected something like 2500 at 1646 (that is the png I get when $pdf->save() )

Do I interprete those values wrong? I can not tell from those values whether it is to large or not.

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