← Back to Skills Marketplace
rishabhdugar

PDF to Image

by Rishabh Dugar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
71
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install pdf-to-image
Description
Convert PDF pages to images (PNG, JPG, or WebP). Supports DPI control, resize, background color, and page selection.
README (SKILL.md)

PDF to Image

What It Does

Renders selected pages of a PDF as images in PNG, JPG, or WebP format. Supports DPI control, resize dimensions, background color fill, and multiple output modes.

When to Use

  • Generate thumbnail previews of PDF pages
  • Convert PDF pages to images for social media (OG images)
  • Create high-DPI images for print
  • Extract specific pages as images

Required Inputs

Provide one of:

  • url — public URL to a PDF
  • file — base64-encoded PDF
  • Multipart upload with file field

Authentication

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Use Cases

  • PDF Thumbnails — Generate preview thumbnails for document management systems
  • Social Media Previews — Create OG images (1200×630) from the first page of a PDF
  • E-commerce Product Sheets — Convert product PDF spec sheets into gallery images
  • Document Previews — Show image previews of PDFs in web apps without embedding a PDF viewer
  • Print-Ready Exports — Export PDF pages as high-DPI images for print workflows
  • Slide Extraction — Extract individual slides from PDF presentations as images

Key Options

Parameter Description
page / pages Single page or range (e.g. "1-5")
image_format png (default), jpg, webp
dpi 72–300 (default 150)
width / height Resize output dimensions
background_color Fill transparent areas (hex)
output url, base64, both, file

Limits

  • Max 100 pages per request
  • DPI range: 72–300
  • Max resize dimension: 10000 px

Example Usage

curl -X POST https://pdfapihub.com/api/v1/convert/pdf/image \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://pdfapihub.com/sample-pdfapi-intro.pdf",
    "pages": "1-3",
    "image_format": "jpg",
    "dpi": 200,
    "output": "url"
  }'
Usage Guidance
This skill appears to do what it says: call pdfapihub.com to convert PDFs to images. Before installing, consider: (1) Privacy — PDFs you convert (possibly containing sensitive data) will be uploaded to a third‑party service; check pdfapihub.com's privacy policy and retention rules. (2) API key handling — the skill expects a CLIENT-API-KEY but the registry metadata doesn't declare how you'll supply it; confirm how your agent will store/provide the key securely. (3) Trustworthiness/provenance — source and homepage are missing; if you need guarantees, validate the service independently (domain, documentation, reputation). (4) Alternatives — if you must keep documents local, use a local tool (poppler/muPDF/ImageMagick) instead of an online API. If any of these are unacceptable, do not install or use the skill until you verify the provider and key storage.
Capability Analysis
Type: OpenClaw Skill Name: pdf-to-image Version: 1.0.0 The skill is a standard API wrapper for a third-party PDF conversion service (pdfapihub.com). Its functionality, as defined in skill.json and SKILL.md, is limited to sending PDF data (via URL or base64) to a remote endpoint for image rendering. No evidence of malicious intent, prompt injection, or unauthorized data exfiltration was found.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description match the instructions and skill.json: the skill calls https://pdfapihub.com/api/v1/convert/pdf/image to convert PDF pages to images. No unrelated binaries, credentials, or platform components are requested.
Instruction Scope
SKILL.md instructs posting PDFs (by URL, base64, or multipart) to pdfapihub.com and sending an API key in the CLIENT-API-KEY header. That stays within the described conversion purpose, but it means user content (PDFs) and an API key are transmitted to an external service — a privacy/security consideration.
Install Mechanism
Instruction-only skill with no install spec or code files. Lowest-risk install posture (nothing is written to disk by the skill itself).
Credentials
The skill requires an API key (skill.json marks auth required and SKILL.md shows sending CLIENT-API-KEY), but the registry metadata lists no required env vars/credentials. This is a minor metadata mismatch: the service needs an API key but the skill manifest doesn't declare how it expects the agent to provide it (env var, config store, or runtime prompt).
Persistence & Privilege
always:false and no install actions. The skill does not request persistent or elevated privileges and does not modify other skills or system settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pdf-to-image
  3. After installation, invoke the skill by name or use /pdf-to-image
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the pdf-to-image skill. - Convert PDF pages to images in PNG, JPG, or WebP formats. - Supports DPI control, resizing, background color fill, and page selection. - Multiple output options: URL, base64, direct file, or both. - Designed for thumbnails, social media previews, print exports, and slide/image extraction. - Accepts PDF input via public URL, base64 string, or multipart upload.
Metadata
Slug pdf-to-image
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is PDF to Image?

Convert PDF pages to images (PNG, JPG, or WebP). Supports DPI control, resize, background color, and page selection. It is an AI Agent Skill for Claude Code / OpenClaw, with 71 downloads so far.

How do I install PDF to Image?

Run "/install pdf-to-image" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is PDF to Image free?

Yes, PDF to Image is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does PDF to Image support?

PDF to Image is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created PDF to Image?

It is built and maintained by Rishabh Dugar (@rishabhdugar); the current version is v1.0.0.

💬 Comments