---
name: "poppler-pdfimages-asset-extractor"
description: "Extract all embedded raster images and figures from PDF files at native resolution."
metadata:
  author: "Poppler"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "extract images from pdf"
  - "dump figures from pdf"
  - "extract native resolution pdf images"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Poppler pdfimages Asset Extractor

Executes Poppler pdfimages with PNG and JPEG extraction flags to dump embedded diagrams, logos, and photos without lossy recompression.

## When to Invoke
Invoke this skill whenever you need to:
- extract images from pdf
- dump figures from pdf
- extract native resolution pdf images

## Execution SOP & Rules
1. Execute pdfimages -png -j input.pdf output_prefix to extract PNG and JPEG images.
2. Use pdfimages -list input.pdf to audit image resolution (DPI), color depth, and dimensions.
3. Handle large multi-gigabyte PDFs by streaming extracted image sequences to a designated directory.
4. Validate that output images contain non-zero bytes before executing post-processing OCR.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
