title: pdf2image.exceptions.PDFPageCountError: Unable to get page count. error
body: <p>Hello i am working on a project(converting pdf to jpeg images),i am using the pdf2img module in python for the same.But i am getting an error here:</p>
  <pre><code> images=convert_from_path(filename,poppler_path=r'C:\Program Files\Library\bin')
  </code></pre>
  <p>the error which i used to get in the beginning was poppler was not in path,but after correcting it now i am getting the error:</p>
  <pre><code>pdf2image.exceptions.PDFPageCountError: Unable to get page count.
  </code></pre>
  <p>Kindly help me to resolve this issue,</p>
  <pre><code>from pdf2image import*
  </code></pre>
  <p>the module i used is pdf2image</p>