title: pdftoppm converts only one first page of pdf
body: <p>I need to convert pdf to pgm, and when I run the (example)command</p>
  
  <pre><code>pdftoppm -f 5 -l 10 -gray input.pdf &gt; output.pgm
  </code></pre>
  
  <p>I am getting the first page of the pdf as output. This is even though I am clearly specifying first page as page 5. I am <strong>not</strong> specifying -singlefile parameter, that could cause this. Even when I specify a single page, like</p>
  
  <pre><code>pdftoppm -f 5 -l 5 -gray input.pdf &gt; output.pgm
  </code></pre>
  
  <p>, the first page is converted. Any pointers?</p>