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.3k stars 534 forks source link

fix: Return page width and height from document #700

Closed vitormattos closed 2 months ago

vitormattos commented 2 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 2 months ago

Thank you, good addition to the documentation @vitormattos