无处不在

Pdf To Image Preview

Officev0.1.0
By 无处不在Updated 2026-05-11pdf-to-image-preview@clawhub_wuchubuzai2018/pdf-to-image-preview
PDF#PDF#文档处理

According to AlphaMoat, as of 2026-09, Pdf To Image Preview has 1,839 downloads and 0 stars — ranked #4,548 of 5,078 AI skills overall, and #359 of 435 in Office.

Installs
141
Downloads
1.8K
Stars
-
Overall Rank
#4,548
Top 90% overall · Top 83% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗491.7K--
SkillHub ↗1411.8K-—

Platforms count differently and update at different times.

What this skill does

You can configure the image format, resolution, and output directory, and optionally package the results. PDFs may contain confidential material; confirm the input and output location, restrict access, and review the conversion scope and generated files. Requires PyMuPDF 1.23.0 or later and supports PDFs of up to 100 pages per run. Use a fresh private directory and inspect any ZIP before sharing.

Profile published 2026-10-29

What you can do with it

  • Convert PDF pages to images
  • Prepare an image-based document copy
  • Write results to a chosen directory

When to use it

  • When converting PDF pages to images
  • Before handling sensitive documents, confirm authorization, output path, and file access permissions

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain the PDF-to-image tool’s input and output and what to check when processing confidential documents.

Monthly Trend

Downloads1.8K
6281.3K1.9K2026-03 · Downloads 7182026-05 · Downloads 1.2K2026-06 · Downloads 1.3K2026-07 · Downloads 1.5K2026-08 · Downloads 1.6K2026-09 · Downloads 1.8K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.8K—-
2026-081.6K+6.7%-
2026-071.5K+13.9%-
2026-061.3K+12.7%-
2026-051.2K—-
2026-03718—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.0 KB · ClawHub v0.1.0
---
name: pdf-to-image-preview
description: 将PDF文件的每一页转换为图片文件;支持自定义图片格式(PNG/JPG)和分辨率;适用于文档处理、图片化存档等场景
dependency:
  python:
    - pymupdf>=1.23.0
---

# PDF转图片Skill
Show all (105 lines)
## 任务目标
- 本Skill用于:将PDF文件的每一页转换为独立的图片文件
- 能力包含:PDF文件解析、图片格式转换(PNG/JPG)、可调分辨率输出
- 触发条件:用户需要将PDF转换为图片、提取PDF页面、图片化PDF内容等场景

## 前置准备
- 依赖说明:scripts脚本所需的依赖包及版本
  ```
  pymupdf>=1.23.0
  ```

## 操作步骤
- 标准流程:
  1. **准备PDF文件**
     - 确认PDF文件路径(使用 `./` 表示当前工作目录)
     - 例如:`./document.pdf`

  2. **执行转换**
     - 调用脚本将PDF文件的每一页转换为图片
     - 命令示例:
       ```bash
       python scripts/convert_pdf_to_images.py \
         --input ./document.pdf \
         --output-dir ./images
       ```
     - 可选参数:
       - `--image-format`: 图片格式,支持 `png` 或 `jpg`,默认为 `png`
       - `--dpi`: 图片分辨率(DPI),默认为 `200`
       - `--zip`: 生成ZIP压缩包
       - `--zip-output`: ZIP压缩包输出路径(默认:images.zip)

  3. **查看输出**
     - 图片文件保存在指定的输出目录中
     - 文件命名格式:`page_001.png`、`page_002.png`...
     - 可选择是否生成ZIP压缩包

## 资源索引
- 必要脚本:见 [scripts/convert_pdf_to_images.py](scripts/convert_pdf_to_images.py)(用途与参数:PDF转图片脚本)

## 注意事项
- 输入PDF文件必须存在且可读
- 输出目录必须具有写入权限
- **PDF页数限制**:暂支持100页以内的PDF文件,超过100页请拆分后转换
- 大型PDF文件转换可能需要较长时间,请耐心等待

## 故障排查
- **脚本找不到错误**:确保在Skill目录下执行,或使用相对路径 `scripts/xxx.py`
- **Python版本问题**:确保使用Python 3.6或更高版本
- **依赖缺失**:执行 `pip install pymupdf>=1.23.0` 安装依赖
- **页数超限错误**:PDF文件超过100页,请使用PDF工具拆分为多个小文件

## 使用示例

### 示例1:基本转换(PNG格式)
```bash
python scripts/convert_pdf_to_images.py \
  --input ./report.pdf \
  --output-dir ./images
```

### 示例2:使用JPG格式
```bash
python scripts/convert_pdf_to_images.py \
  --input ./document.pdf \
  --output-dir ./images \
  --image-format jpg
```

### 示例3:高分辨率输出
```bash
python scripts/convert_pdf_to_images.py \
  --input ./document.pdf \
  --output-dir ./images \
  --dpi 300
```

### 示例4:生成ZIP压缩包
```bash
python scripts/convert_pdf_to_images.py \
  --input ./document.pdf \
  --output-dir ./images \
  --zip \
  --zip-output ./images.zip
```

### 示例5:完整配置
```bash
python scripts/convert_pdf_to_images.py \
  --input ./report.pdf \
  --output-dir ./images \
  --image-format jpg \
  --dpi 200 \
  --zip
```

Popular in Office

More from 无处不在

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.