Utilities
Extract embedded raster images from a PDF
pdf-images is a PDF image extraction node powered by Poppler pdfimages.
Free plan: 1 user, 3 execution slots, no card.
overview
What pdf-images does
Extract embedded raster images from selected PDF pages as numbered PNG files at their original pixel dimensions.
This operation extracts image objects rather than rendering pages. It does not reproduce text, vector artwork or page composition. PNG decoding does not preserve the original compressed JPEG bytes. Transparency masks remain separate.
Input is at most 100 MiB; first-page defaults to 1 and page-count to 10, with at most 50 selected pages. Limits are 100 images, 25 million pixels per image and 100 million pixels total. Raster-free pages, invalid PDFs or exceeded limits fail without partial images.
This packaged operation uses 22.12.0-2+deb12u3. Upstream license: GPL-2.0-only OR GPL-3.0-only. The linked source identifies the actual program; this page documents the adapter's exposed contract.
source gitlab.freedesktop.org/poppler/poppler/-/tree/poppler-22.12.0
image quay.io/trickest/pdf-images:22.12.0-deb12u3
use cases
pdf-images use cases
Recover embedded rasters
Extract raster image objects rather than rendering whole pages.
Limit extraction by page
Choose the first page and a bounded page count.
Preserve original pixel dimensions
Keep native embedded pixel dimensions in PNG output.
reference
pdf-images inputs and flags
| Name | Type | Flag | Description |
|---|---|---|---|
| input | FILE | --input | PDF file up to 100 MiB. Filename extension does not matter. Selected pages must contain embedded raster images. |
| first-page | STRING | --first-page | First page, from 1 to 1000000. Defaults to 1. |
| page-count | STRING | --page-count | Maximum pages to inspect, from 1 to 50. Defaults to 10; stops at the end of the PDF. At most 100 images and 100M total pixels. |
Showing key inputs. pdf-images exposes 3 inputs in total.
example
pdf-images command examples
/app/run.sh --input ./input.txt --page-count 2 ./outputguidance
pdf-images vs alternatives
Use pdf-to-png for complete rendered page layouts. Use this operation when the original embedded raster dimensions matter, including small images displayed at larger sizes.
| Tool | Pick it when |
|---|---|
| pdf-to-png | Renders complete page layouts, including text and vector graphics. |
faq
pdf-images FAQ
related
More Utilities tools
dnsgen
Wordlist and mined-word subdomain permutation.
pup
CSS selectors over HTML, the jq counterpart for markup.
unfurl
Extract chosen URL parts from stdin into clean line lists.
browser-fetch
Headless Chromium render: requested URL, final URL, status, and title next to the page.
cewl
Spider a URL and return a wordlist for password crackers.
csvkit
SQL on one CSV. The table name is the file stem.
Run pdf-images yourself
The saved synthetic check verified two 2×2 PNG images and exact decoded red, green, blue and white pixels. Binary PNG artifacts are not embedded as a text sample. The command shows the container entrypoint with example paths.
Facts on this page come from the live Trickest tool library.