title: ImageMagick is converting only the first page of the pdf
body: <p>I am having some trouble with ImageMagick.</p>
  
  <p>I have installed GhostScript v9.00 and ImageMagick-6.6.7-1-Q16 on Windows 7 - 32Bit</p>
  
  <p>When I run the following command in cmd</p>
  
  <p><strong>convert D:\test\sample.pdf D:\test\pages\page.jpg</strong></p>
  
  <p>only the first page of the pdf is converted to pdf. I have also tried the following command</p>
  
  <p><strong>convert D:\test\sample.pdf D:\test\pages\page-%d.jpg</strong></p>
  
  <p>This creates the first jpg as page-0.jpg but the other are not created.
  I would really appreciated if someone can shed some light on this. Thanks.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I have ran the command using -debug "All"</p>
  
  <p>one of the many lines out put says:</p>
  
  <pre><code>2011-01-26T22:41:49+01:00 0:00.727 0.109u 6.6.7 Configure Magick[5800]: nt-base.c/NTGhostscriptGetString/1008/Configure
  registry: "HKEY_CURRENT_USER\SOFTWARE\GPL Ghostscript\9.00\GS_DLL" (failed)
  </code></pre>
  
  <p>Could it maybe have something to do with GhostScript after all?</p>