Skip to content
The hosted API is live. Prices and terms on this page are as of 22 November 2026.

convert.to_images

Render pages to PNG or JPEG images, returned as a zip.

POST /v1/convert/to-images

Input one file, sent as multipart/form-data; the optional options part is a JSON object
Output a zip of files
Credits 1 credit per page
Limits [size, page and time limits: no claim ID yet]
Reads or changes the document reads only
Error statuses 400, 413, 422, 500, 501, 504 (see Errors)
Option Type Required Default Description
dpi integer no 150 Resolution, 36 to 300. Default 150.
format string no Image format. Default png. png: PNG. The default. jpeg: JPEG.
pages array of integer no One-based pages. Default: all pages.
password string no Password of an encrypted document.
Terminal window
curl -sS -f -X POST "$PDFLUENT_API_URL/v1/convert/to-images" \
-H "x-api-key: $PDFLUENT_API_KEY" \
-F file=@structured.pdf \
-o result.zip

The key goes in the x-api-key header; see Authentication. Every response carries x-pdfluent-pages and x-pdfluent-credits.