I am using PHP 5 with Apache on my Windows Vista strong> PC. I already have Imagemagick installed and configured. I want to count the total number of pages in a pdf file using imagick .
I have one solution here , but I do not know how to open a pdf file in the form of text and counting pages.
does anyone give me a clear solution for counting pages using imagemagick like
identify -format %n testfile.pdf
From a Google search, I found some workarounds or examples;
imagick(identify -format %n testfile.pdf)identify -density 12 -format "%p" testfile.pdfidentify -format %n testfile.pdf
I do not know how to use this material.
php pdf imagemagick imagick
blasteralfred Ψ Sep 18 '11 at 15:59 2011-09-18 15:59
source share