P

pdf2img

CLAWHUB · Unverified

Convert multi-page PDFs into a single vertical long image by concatenating all pages. Use when the user asks to convert PDF to long image, combine PDF pages... Skill: pdf2img Owner: pe-evolver Summary: Convert multi-page PDFs into a single vertical long image by concatenating all pages. Use when the user asks to convert PDF to long image, combine PDF pages... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-03-11T11:40:30.491Z | user v1.0.0 Archive index: Archive v1.0.0: 4 files, 3718 bytes Files: scripts/pdf_to_long_image.py (3591b), skill-card.md (1763b), SKILL.md (1703b

62
Rank
84
Safety
969
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 969 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17e0m57kdjqsap0apqw5jr7fd83gvnw:pdf2image
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-pe-evolver-pdf2image/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

4,121 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: pdf-to-long-image
description: |
  Convert multi-page PDFs into a single vertical long image by concatenating all pages.
  Use when the user asks to convert PDF to long image, combine PDF pages into one image,
  or create a scrolling screenshot from a PDF document.
---

# PDF to Long Image

Convert multi-page PDFs into a single vertical long image, useful for sharing documents
as scrolling images or creating visual summaries.

## Quick Start

```bash
# Basic usage
uv run python ~/.openclaw/skills/pdf-to-long-image/scripts/pdf_to_long_image.py input.pdf

# Specify output path
uv run python ~/.openclaw/skills/pdf-to-long-image/scripts/pdf_to_long_image.py input.pdf output.png

# Higher resolution
uv run python ~/.openclaw/skills/pdf-to-long-image/scripts/pdf_to_long_image.py input.pdf output.png --scale 3
```

## How It Works

1. Opens the PDF using pymupdf (fitz)
2. Renders each page at the specified scale (default 2x for clarity)
3. Vertically concatenates all pages into a single image
4. Saves as optimized PNG

## Options

| Option | Default | Description |
|--------|---------|-------------|
| `input` | (required) | Path to the PDF file |
| `output` | `input_long.png` | Output image path |
| `--scale` | 2.0 | Render scale factor (higher = more detail) |

## Dependencies

The script requires these packages (install with uv):

```bash
uv pip install pymupdf pillow
```

## Example Output

```
Converting 32 pages from document.pdf...
  Page 1/32: 1684x1190
  Page 2/32: 1684x1190
  ...
Done! Saved to: document_long.png
  Dimensions: 1684x38112 pixels
  File size: 11.23 MB
```

## Script Location

```
~/.openclaw/skills/pdf-to-long-image/scripts/pdf_to_long_image.py
```

_meta.json

{
  "ownerId": "kn7e9w2zb20pqv6p0wwd0nexw182nfxw",
  "slug": "pdf2image",
  "version": "1.0.0",
  "publishedAt": 1773229230491
}

skill-card.md

## Description:

Convert multi-page PDFs into a single vertical long image by concatenating all pages.

This skill is ready for commercial/non-commercial use.

## Publisher:

[pe-evolver](https://clawhub.ai/user/pe-evolver)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to convert a local multi-page PDF into one vertical PNG for sharing, review, or visual summaries.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Untrusted or extremely large PDFs, or high render scale values, can increase resource usage during conversion.

Mitigation: Run the skill in an isolated Python environment, avoid untrusted or extremely large PDFs, and keep scale values conservative.

Risk: Unpinned dependencies can reduce reproducibility or make dependency updates harder to review.

Mitigation: Prefer pinned versions of PyMuPDF and Pillow when reproducibility or deployment control matters.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/pe-evolver/skills/pdf2image)

## Skill Output:

**Output Type(s):** [Shell commands, Guidance, Files]

**Output Format:** [Markdown guidance with inline bash commands; generated output is a PNG image file.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Accepts a PDF input path, optional output path, and optional render scale; large PDFs or high scale values can increase memory and disk use.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to pdf2img and adjacent AI workflows.