Convert PDF to JPG
Welcome to the Convert PDF to JPG guide. This guide will teach you how to convert one or more PDF files to JPG images easily.
Remember that all Tool Guides takes into account that you have previous knowledge about the Basics to process a PDF with our REST API. We strongly recommend you to read the related guide before start with this one.
Basic Convert PDF to JPG
Look at this is a simple example of how to convert all pages of a couple of PDF documents to JPG images:
Advanced Convert PDF to JPG
There is one single option setMode() you can customize in your converting to JPG processes:
setMode('pages') is a function which permits to choose how to convert your documents by two parameters:
- setMode('pages') Every page will be converted to a JPG
- setMode('extract') The tool will look for the images content of the document and extract them all in several JPG files
You can see in the example how all the images inside the uploaded files will be extracted to JPG files.