Skip to main content

Create Image from PDF

ImageCreate Image from PDF

The Create Image from PDF API converts PDF pages to images. Send the PDF as Base64 (docContent), the file name (docname), and, when you care which pages run, fill pageNrs with one line of text the same way you would in the Power Automate Page Number field (all, 1,2-3,5,7-, -2, and so on). imageAction and async are optional extras. The Parameters tab has the same quick guide, examples, and practical notes as the integration docs.

Try the Create Image from PDF API

Quick reference

Endpoint: POST /api/v2/CreateImages · Required: api-key, docContent, docname

Try it live

Use the form below to send your API key and PDF (Base64). Optionally set page range or image action; the response is JSON with image data. No code required, fill the fields and click Send request.

Loading API Tester...

Overview, parameters, and use cases

What is Create Image from PDF?

This endpoint converts PDF pages to images. You provide the PDF (Base64), docname, and optionally pageNrs as one string: plain numbers, commas, ranges, and keywords like all (see the Parameters tab for the full pattern list and a 12-page example table). You can also send imageAction for width, format, or advanced page selection. The response is a JSON array of images (Base64) with file names and page info. Supported output formats include jpeg, png, bmp, gif, tiff, and others.

Key features

  • Page selection: Type pageNrs as one line of text (same patterns as the Power Automate Page Number field: all, a lone *, last, first, 0, 1, commas, ranges, 7-, -1, -2, …). Optional imageAction for width, format, or alternate page selection.
  • Format and size: imageAction can set WidthPixel and ImageExtension (jpeg, png, bmp, gif, tif, etc.).
  • Async: Use async for large PDFs.
Best for

Use when you need thumbnails or images from PDF pages. Combine with Compress Image or Resize Image for thumbnails.

Prerequisites

Before using this endpoint, make sure you have:

Response Format

The API returns a JSON response containing an array of converted images, each with:

  • Image content (base64 encoded)
  • Image file name
  • Page number information

Get Help