title: How to convert all folder pdfs to png using ghostscript
body: <p>i want to convert all pdfs of folder to png images,like if i have two pdfs in folder name test1.pdf and test2.pdf with two pages,then it should generate test1-1.png ,test1-2.png,test2-1.png,test2-2.png.
  I am using this command line ,what should i place instead of '#-%d.png'?</p>
  
  <p>gs -dNOPAUSE -dBATCH -sDEVICE=png16m -sOutputFile="/var/www/pdf_png/pdfs/#-%d.png" /var/www/pdf_png/pdfs/*.pdf</p>