Here is a simple example of how to convert all pages of a couple of PDF files to JPG images:
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:
You can see in the example how all the images inside the uploaded files will be extracted to JPG files.