PDF to Image — Convert PDF Pages to PNG or JPEG avatar

PDF to Image — Convert PDF Pages to PNG or JPEG

Pricing

from $2.00 / 1,000 results

Go to Apify Store
PDF to Image — Convert PDF Pages to PNG or JPEG

PDF to Image — Convert PDF Pages to PNG or JPEG

Convert the pages of PDF files to PNG or JPEG images at the resolution you choose. Pass PDF links; get one image per page with its size. Useful for previews, thumbnails, OCR and vision models. No API key.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Ponderable Hydrometer

Ponderable Hydrometer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Every page of a PDF as an image. Make previews and thumbnails, feed pages to OCR or a vision model, or archive documents as pictures. Rendering uses Poppler, the same engine many desktop PDF viewers use.

Input

FieldTypeDefaultDescription
pdfUrlsarray—Direct links to PDFs.
formatstringpngpng or jpeg.
dpiinteger150Resolution.
maxPagesPerPdfinteger50Page cap per file.

What you can do with it

  • Preview and thumbnails: render the first pages of many PDFs at a low dpi.
  • Prepare pages for OCR or vision models: one image per page at up to 400 dpi.
  • Archive documents as pictures (PNG or JPEG).

Input example

{
"pdfUrls": ["https://arxiv.org/pdf/1706.03762"],
"format": "png",
"dpi": 150,
"maxPagesPerPdf": 3
}

dpi ranges from 36 to 400; 72 is screen quality, 150 is sharp for reading and 300 suits print.

What you get

One row per page: pdfUrl, page, totalPages, imageUrl (the image in the run's key-value store), format, dpi, width, height, bytes.

Output sample

{
"pdfUrl": "https://arxiv.org/pdf/1706.03762",
"page": 1,
"totalPages": 15,
"imageUrl": "https://api.apify.com/v2/key-value-stores/abc/records/pdf-2-page-1.png",
"format": "png",
"dpi": 150,
"width": 1275,
"height": 1650,
"bytes": 284311
}

Use it from the API or an AI agent

curl -X POST "https://api.apify.com/v2/acts/ponderable_hydrometer~pdf-to-image/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"pdfUrls": ["https://arxiv.org/pdf/1706.03762"], "maxPagesPerPdf": 3}'

Through the Apify MCP server: https://mcp.apify.com?tools=ponderable_hydrometer/pdf-to-image.

Limits and good to know

  • First pages only. maxPagesPerPdf (default 50) converts pages 1 to N; there is no page-range option.
  • Password-protected PDFs are not supported; a file that cannot be read produces no rows. If every file fails, the run ends as FAILED.
  • Cost scales with pages: one result is one page image, so a 50-page PDF at the default cap is 50 results, which is $0.10 at $2.00 per 1,000 results.
  • Width and height are reported for PNG; for JPEG they are left empty.
  • Each PDF must download within 120 seconds.
  • High DPI on long documents makes large files; start with 150.
  • Files are stored in the run's key-value store as pdf-<file number>-page-<page>.png or .jpg.

FAQ

Does it do OCR? No. It produces images only.

What renders the pages? Poppler (pdftoppm).

Pricing

Pay per result — $2.00 per 1,000 results (one page image = one result), plus Apify's standard per-run start event ($0.00005 per GB of memory, so a fraction of a cent per run). No subscription.