Link Search Menu Expand Document

PDF to JSON - How to extract images

You can use the /pdf/convert/to/json2 to extract images from a PDF. The profiles parameter includes the SaveImages property that extracts individual images in a regular PDF.

POST /v1/pdf/convert/to/json2 HTTP/1.1
Content-Type: application/json
x-api-key: YOUR_API_KEY
Content-Length: 80

   "url": "https://fileurl.pdf",
   "profiles": "{ 'SaveImages': 'Embed' }"


In Zapier, you can usze this feature within the PDF to Anything Converter. Please choose the Output Format as JSON and insert the line below into the Define Custom Profiles field.

{ 'SaveImages': 'Embed' }


In Integromat/Make, you can use this feature within the Convert PDF module. Please choose PDF to JSON2 as the Converter Type and insert the line below into the Profiles field.

{ 'SaveImages': 'Embed' }