← 返回
内容创作 中文

pymupdf

Render PDF pages to images, extract embedded images, annotate PDFs, and perform advanced PDF inspection using pymupdf (fitz). Use for tasks such as exporting...
使用 pymupdf (fitz) 将 PDF 页面渲染为图像、提取嵌入图像、注释 PDF 并进行高级 PDF 检查。适用于导出等任务……
maverick-ai-tech
内容创作 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 737
下载
💾 160
安装
1
版本
#latest

概述

pymupdf

Use scripts/pymupdf_cli.py for deterministic pymupdf operations instead of ad-hoc fitz snippets.

Workflow

  1. Confirm the PDF file path is accessible locally.
  2. Run the desired command (export-images, extract-images, info).
  3. Inspect the output directory or stdout.

Command Guide

  • Export pages as images:
  • python scripts/pymupdf_cli.py export-images --input --output-dir
  • Override format: --format png (default), jpg, or ppm.
  • Override resolution: --dpi 300 (default: 150).
  • Restrict to specific pages: --pages 0 1 2.
  • Extract images embedded inside a PDF:
  • python scripts/pymupdf_cli.py extract-images --input --output-dir
  • Optionally restrict to specific pages: --pages 0 1 2.
  • Inspect page dimensions and basic document info:
  • python scripts/pymupdf_cli.py info --input

Operational Rules

  • Pages are always 0-indexed in all commands.
  • export-images renders each page as a raster image at the specified DPI.
  • extract-images saves raw image streams embedded in the PDF (e.g. photos, logos); output filenames include page index and image index.
  • Install dependency if missing: pip install pymupdf.
  • For text extraction, splitting, merging, or rotating PDFs, use the pypdf skill instead.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Baidu Wenku AIPPT

ide-rea
使用百度文库 AI 智能生成 PPT,自动根据内容选择模板。
★ 66 📥 46,142
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,398
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 295 📥 136,428