pdf_to_png
Convert a PDF file into separate PNG images, one per page, for viewing slide decks and documents with language models.
Instructions
Convert a PDF file to individual PNG images (one per page).
Useful for making slide deck pages visible to LLMs for review or editing.
Args: pdf_path: Path to the source PDF file output_directory: Directory to write PNGs into. Defaults to a folder beside the PDF named _pages/ dpi: Render resolution (default 200 -- good balance of quality and size)
Returns: Dictionary with output directory, list of page image paths, and page count
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| pdf_path | Yes | ||
| output_directory | No |