← 返回
未分类 中文

pdf-image-extractor

Extract images from PDFs in original, 800x800 web-ready, or compressed under 50KB formats for printing, e-commerce, or social media use.
从PDF提取图像,提供原始、800x800网页版或压缩至50KB以下的格式,供打印、电商或社交媒体使用。
jnbno1163 jnbno1163 来源
未分类 clawhub v1.0.0 1 版本 99707.6 Key: 无需
★ 0
Stars
📥 341
下载
💾 0
安装
1
版本
#latest

概述

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家具链

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 19:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,229 📥 268,108
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,698
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,084 📥 813,114