title: how to convert Pdf to image via imagemagick command?
body: <p>I am using following environment:</p>
  
  <p>Ubunut : 11.0 (virtual machine)
  Imagemagick : ImageMagick-6.9.3-7</p>
  
  <p>I have execut following command:</p>
  
  <pre><code>wget http://www.imagemagick.org/download/ImageMagick.tar.gz
  tar xzvf ImageMagick.tar.gz
  ls
  cd ImageMagick&lt;version number here&gt;/
  ./configure
  make clean
  make
  sudo make install
  ldconfig /usr/local/lib
  </code></pre>
  
  <p>After executing below command:</p>
  
  <pre><code>make check
  </code></pre>
  
  <p>40 test case 39 pass only 1 is fail (FAIL: tests/wandtest.tap 1)</p>
  
  <p>Now i want to convert pdf file to jpg via command:</p>
  
  <pre><code>convert test.pdf test.jpg
  </code></pre>
  
  <p>convert: no decode delegate for this image format <code>PNG' @ error/constitute.c/ReadImage/501.
  convert: no images defined</code>test.jpg' @ error/convert.c/ConvertImageCommand/3252</p>
  
  <pre><code>convert test.pdf test.png
  </code></pre>
  
  <p>convert: no decode delegate for this image format <code>PNG' @ error/constitute.c/ReadImage/501.
  convert: no images defined</code>test.png' @ error/convert.c/ConvertImageCommand/3252.</p>
  
  <p>anyone can suggest me how can i do ?</p>