← 返回 Skills 市场
rishabhdugar

PDF to Image

作者 Rishabh Dugar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
71
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install pdf-to-image
功能描述
Convert PDF pages to images (PNG, JPG, or WebP). Supports DPI control, resize, background color, and page selection.
使用说明 (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"
  }'
安全使用建议
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.
功能分析
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.
能力标签
requires-sensitive-credentials
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pdf-to-image
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pdf-to-image 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug pdf-to-image
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

PDF to Image 是什么?

Convert PDF pages to images (PNG, JPG, or WebP). Supports DPI control, resize, background color, and page selection. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 71 次。

如何安装 PDF to Image?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pdf-to-image」即可一键安装,无需额外配置。

PDF to Image 是免费的吗?

是的,PDF to Image 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PDF to Image 支持哪些平台?

PDF to Image 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PDF to Image?

由 Rishabh Dugar(@rishabhdugar)开发并维护,当前版本 v1.0.0。

💬 留言讨论