Precompiled binaries are available at http://www.foolabs.com/xpdf/download.html
Windows equivalent for Unix's pdfinfo
-
30-06-2022 - |
Question
Is there a Windows equivalent for Unix's pdfinfo
?
I need to get the page count of a PDF document in PHP.
I tried with ImageMagick 'identify' command, but seems it is not very efficient.
No correct solution
OTHER TIPS
Try cpdf
cpdf.exe -pages file.pdf
which will print the number of pages to standard output. It should be pretty fast.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow