An API for converting multi-page PDFs to a JPG