title: Programmatically take screenshot of certain area on a PDF
body: <p>I am looking for a way to run a script (python, js, node.js, or any other suggestion) that will take a screenshot of a defined area of a pdf.  The ideal functionality is being able to run a shell script that allows me to select a pdf file that I have downloaded, define the coordinate area of the pdf that I would like to capture in the screenshot, and then save that screenshot to the same directory as the original file.</p>
  
  <p>Does anyone have any idea how/if this can be done, and in what language it would work best in?</p>