<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Count The Number of Pages in a PDF'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Tue, 21 May 2013 16:47:01 GMT</pubDate>
<item>
<title>adrianbj said on 2/21/10</title>
<link>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</link>
<description><![CDATA[ Finally, sorry for the weird post with that url - I meant to write "identify -density 12 -format "%p" image.pdf" - I guess I pasted the wrong contents from my clipboard ]]></description>
<pubDate>Sun, 21 Feb 2010 15:25:37 GMT</pubDate>
<guid>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</guid>
</item>
<item>
<title>adrianbj said on 2/21/10</title>
<link>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</link>
<description><![CDATA[ Oh, and in case someone using imagemagick at the command is confused by the output of identify -density 12 -format "%p" image.pdf, try
identify -format "%n" image.pdf ]]></description>
<pubDate>Sun, 21 Feb 2010 15:22:40 GMT</pubDate>
<guid>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</guid>
</item>
<item>
<title>adrianbj said on 2/20/10</title>
<link>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</link>
<description><![CDATA[ Nevermind - it is:
getNumberImages() ]]></description>
<pubDate>Sat, 20 Feb 2010 13:04:30 GMT</pubDate>
<guid>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</guid>
</item>
<item>
<title>adrianbj said on 2/20/10</title>
<link>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</link>
<description><![CDATA[ Does anyone know how to duplicate "http://ian.umces.edu/pdfs/ian_presentation_20091124145318.pdf" using PHP's imagick? ]]></description>
<pubDate>Sat, 20 Feb 2010 12:45:44 GMT</pubDate>
<guid>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</guid>
</item>
<item>
<title>traeregan said on 11/15/09</title>
<link>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</link>
<description><![CDATA[ Thank you, fugue, that ended up being what I went with. Much appreciated! ]]></description>
<pubDate>Sun, 15 Nov 2009 22:45:12 GMT</pubDate>
<guid>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</guid>
</item>
<item>
<title>fugue said on 11/10/09</title>
<link>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</link>
<description><![CDATA[ If you're using Linux, you can also try [pdfinfo](http://linux.die.net/man/1/pdfinfo):

`pdfinfo myfile.pdf | awk '/Pages/ {print $2}'`

Using pdfinfo gives you access to a lot of information on the document. ]]></description>
<pubDate>Tue, 10 Nov 2009 05:29:27 GMT</pubDate>
<guid>http://snipplr.com/view/22825/count-the-number-of-pages-in-a-pdf/</guid>
</item>
</channel>
</rss>