smalot / pdfparser

PdfParser, a standalone PHP library, provides various tools to extract data from a PDF file.
GNU Lesser General Public License v3.0
2.41k stars 537 forks source link

fix: Return page width and height from document #700

Closed vitormattos closed 7 months ago

vitormattos commented 7 months ago

Type of pull request

About

Some documents could have pages without MediaBox, at this case we need to get the MediaBox from document and not from a specific page.

k00ni commented 7 months ago

Thank you, good addition to the documentation @vitormattos