About convert-slides-to-images
A skill that runs a script to split a PDF presentation into individual PNG slide images. It is intended for workflows that need each slide as a separate image.
Key features
- 01PDF to PNG conversion
- 02One PNG file per slide
- 03Creates output directory when needed
Use cases
- 01Preparing slide images for review
- 02Supplying individual slides to a presentation workflow
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ pamelafox/ presentation-skills --skill convert-slides-to-imagesAfter installing, type/convert-slides-to-imagesin Claude Code to confirm it loaded.
Bundled filesconvert_slides_to_images.py
Details
From the project READMEConvert 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
Comments
Markdown supported