pdf_convert

Convert PDF pages to images and images to PDFs.

38|14|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/ericwang915/PythonClaw --skill pdf-convert-ericwang915
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf_convert
Source: https://github.com/ericwang915/PythonClaw/tree/main/pythonclaw/templates/skills/data/pdf_convert
Command: npx skills add https://github.com/ericwang915/PythonClaw --skill pdf-convert-ericwang915

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convert between PDF and image formats, enabling quick previews of PDF pages and easy creation of PDFs from image sequences.

Core Features & Use Cases

  • Images to PDF: combine multiple images into a single PDF with optional page size.
  • PDF to Images: extract pages as images (PNG/JPEG) with optional page ranges; supports output formats and basic fallbacks.
  • Use Case: prepare product documents by turning a set of screenshots into a single PDF or generate thumbnails from a document.

Quick Start

Convert doc.pdf to a set of PNG images for quick review.

Frequently Asked Questions about pdf_convert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert PDF pages to images for quick previews?

To convert PDF to images, the tool parses PDFs using PyPDF2 and extracts pages as PNG or JPEG files via Pillow. You can specify page ranges and output formats to generate quick previews or thumbnails for document sharing.

Can I merge multiple images into a single PDF?

Yes, you can combine multiple images into a single PDF with optional page size settings. This images-to-PDF workflow assembles screenshots or image sequences into one document for easy sharing and archiving.

Does this PDF conversion tool support extracting specific page ranges?

Yes, PDF to images conversion supports optional page ranges, allowing you to extract specific pages rather than the entire document. This enables targeted thumbnail generation and batch conversions for selected sections.

What Python libraries are used for PDF and image conversion?

The conversion process relies on PyPDF2 to parse PDF content and Pillow to convert and assemble images. These Python libraries handle PDF-to-image extraction and image-to-PDF assembly with support for multiple output formats.

What are the limitations of using PyPDF2 and Pillow for PDF conversion?

Using PyPDF2 and Pillow provides basic PDF parsing and image conversion with fallbacks, but may lack advanced rendering fidelity for complex PDFs. For highly detailed documents, output quality depends on the source PDF structure and image resolution.