Convert PDF to JPG Guide
How to convert PDF files to images in your application using iLovePDF’s REST API.
Basic PDF to JPG conversion
Here is a simple example of how to convert all pages of a couple of PDF files to JPG images:
Advanced PDF to JPG conversion
There is one single property pdfjpg_mode you can set to customize the conversion to JPG:
pdfjpg_mode is a property which allows you to choose how to convert your documents using one of these two parameters:
- pages converts every page to a JPG image
- extract extracts every embedded image as JPG image
You can see in the example how all the images inside the uploaded files will be extracted to JPG files.