pdf-image-extractor

v1.0.0

Extract images from PDFs in original, 800x800 web-ready, or compressed under 50KB formats for printing, e-commerce, or social media use.

0· 66·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jnbno1163/pdf-image-extractor.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "pdf-image-extractor" (jnbno1163/pdf-image-extractor) from ClawHub.
Skill page: https://clawhub.ai/jnbno1163/pdf-image-extractor
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install pdf-image-extractor

ClawHub CLI

Package manager switcher

npx clawhub@latest install pdf-image-extractor
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name and description align with the provided scripts: three modes (original, standard, compress) implemented in local Python scripts using PyMuPDF and Pillow. There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md instructs installing Python packages, editing the top-of-file CONFIG variables (pdf_folder/output_folder), and running the appropriate script. The scripts only read PDFs from the configured folder and write images to the configured output; they do not access other system resources, network endpoints, or environment variables.
Install Mechanism
There is no formal install spec; the README asks the user to pip install pymupdf and pillow. The repository includes runnable Python scripts (no external downloads or extract steps). Recommend using a virtualenv when installing dependencies to avoid changing global Python packages.
Credentials
No environment variables, credentials, or external config paths are required. The scripts use local file-system paths only (user must edit pdf_folder/output_folder). Default config values point to a Windows E:\ path, which is a convenience/default but not a security-sensitive requirement.
Persistence & Privilege
The skill is not forced-always, and it does not modify agent/system configuration. It runs as a normal user process and only writes extracted images to the configured output folder.
Assessment
This package appears to do exactly what it says: extract and resize images from PDFs locally. Before using: 1) Inspect and, if desired, edit the pdf_folder and output_folder paths in each script so they point to safe folders; 2) Run pip installs inside a Python virtual environment; 3) Test on a small, non-sensitive PDF set first to confirm behavior; 4) Note the default config targets a Windows E:\ path—change it if you are on another OS; 5) If you need network isolation, run the scripts offline or in a sandbox/VM—these scripts do not perform any network calls according to the source.

Like a lobster shell, security has layers — review code before you run it.

latestvk97c1czns11fw3trbz5wb64q3x85h949
66downloads
0stars
1versions
Updated 3d ago
v1.0.0
MIT-0

PDF Image Extractor

Extract images from PDF files with three output modes.

Three Modes

ModeCommandBest For
Originalpython scripts/extract_original.pyPrinting, high-quality
Standardpython scripts/extract_standard.pyWebsite, e-commerce
Compresspython scripts/extract_compress.pyWeChat, Douyin, social

Quick Start

# Install dependencies
pip install pymupdf pillow

# Configure
# Edit CONFIG section at top of each script:
# - pdf_folder: Path to your PDF folder
# - output_folder: Where to save images

# Run
python scripts/extract_original.py    # Original quality
python scripts/extract_standard.py    # 800x800 square
python scripts/extract_compress.py    # Compressed sharing

Output Structure

output_folder/
├── PDF_Name_1/
│   ├── page001_img01.jpg
│   └── ...
└── PDF_Name_2/
    └── ...

Requirements

  • Python 3.7+
  • PyMuPDF (pymupdf)
  • Pillow (PIL)

Use Cases

  • Furniture manufacturers: Extract catalog images for printing
  • E-commerce: Prepare product images for websites
  • Sales: Compress images for WeChat Moments, Douyin

License: MIT
Author: 小杰 @ AI家具链

Comments

Loading comments...