문제

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.

올바른 솔루션이 없습니다

다른 팁

Precompiled binaries are available at http://www.foolabs.com/xpdf/download.html

Try cpdf

cpdf.exe -pages file.pdf

which will print the number of pages to standard output. It should be pretty fast.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top