title: PHP: Generate Image Thumbnail from .PDF, .DOC, and .DOCX in Linux
body: <p>As the title says,</p>
  
  <p>I'm essentially looking for a way to generate a thumbnail from a .DOC, .DOCX, or .PDF file uploaded to the linux machine.</p>
  
  <p>I understand ImageMagick can handle .PDF to .PNG conversion and is made even easier with PHP's IMagick but I am unsure about .DOC or .DOCX. I think I was told a headless version of OpenOffice can do this.</p>