title: docx to image conversion using Python
body: <p>I have a <code>docx</code> file which has multiple pages in it, and I have to convert each page to an <code>image</code>. 
  Is there a way of doing it using Python?</p>
  
  <p>What I have been able to do so far is convert the docx into pdf then from pdf to images using <code>pdf2image</code>
  Is there a direct way of doing it from <code>docx</code> to <code>images</code>?</p>
  
  <p>I have the same requirement for converting <code>pptx</code> to <code>images</code>?</p>
  
  <p>Thanks in advance!</p>