convert-slides-to-images

Installation
SKILL.md

Convert PDF slides to images

Run the convert_slides_to_images.py script to split a PDF into individual PNG images:

uv run .agents/skills/convert-slides-to-images/convert_slides_to_images.py <pdf_path> <output_dir>

Arguments

  • pdf_path (required): Path to the PDF file to convert.
  • output_dir (required): Directory to save the PNG images. Created if it doesn't exist.

Outputs

Individual PNG files named slide_1.png, slide_2.png, etc. in the output directory.

Prerequisites

Poppler utilities must be installed (provides the pdftoppm command):

  • macOS: brew install poppler
  • Ubuntu: apt-get install poppler-utils
Related skills
Installs
13
GitHub Stars
70
First Seen
10 days ago