简体   繁体   中英

PDF get PDF dimensions

I am working in PHP and want to get the dimensions of a pdf document so that I can find the orientation and append it to another PDF that is generated on the fly using mpdf. Thanks in advance for any help.

Have you tryed Dompdf or the Zend extension? They come with a whole lot of features - they might help you finding the dimensions.

dompdf: https://github.com/dompdf/dompdf Zend PDF: http://framework.zend.com/manual/1.12/en/zend.pdf.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM