pdf-image-extractor — pdf-image-提取器
v1.0.0提取 images from PDFs in original, 800x800 网页-ready, or 压缩ed under 50KB 格式化s for printing, e-commerce, or social media use.
运行时依赖
安装命令
点击复制技能文档
PDF Image 提取器
提取 images from PDF files with three 输出 modes.
Three Modes Mode Command Best For Original python scripts/提取_original.py Printing, high-质量 Standard python scripts/提取_standard.py 网页site, e-commerce 压缩 python scripts/提取_压缩.py WeChat, Douyin, social Quick 启动 # 安装 dependencies pip 安装 pymupdf pillow
# 配置 # Edit CONFIG section at top of each script: # - pdf_folder: Path to your PDF folder # - 输出_folder: Where to save images
# 运行 python scripts/提取_original.py # Original 质量 python scripts/提取_standard.py # 800x800 square python scripts/提取_压缩.py # 压缩ed sharing
输出 Structure 输出_folder/ ├── PDF_Name_1/ │ ├── page001_img01.jpg │ └── ... └── PDF_Name_2/ └── ...
Requirements Python 3.7+ PyMuPDF (pymupdf) Pillow (PIL) Use Cases Furniture manufacturers: 提取 cata记录 images for printing E-commerce: Prepare product images for 网页sites Sales: 压缩 images for WeChat Moments, Douyin
License: MIT Author: 小杰 @ AI家具链