Pdf Poppler Utils

👤 xlionjuan 📦 v1.0.0 ⭐ 4.4 ⬇️ 1.2K 下载
📄 办公效率 免费

📖 技能介绍


name: pdf-poppler-utils version: 1.0.0 description: A collection of PDF manipulation tools from the poppler-utils package. Use when working with PDF files - extracting text, images, metadata, splitting, merging, converting to other formats, or managing attachments. metadata: { "openclaw": { "emoji": "📄", "requires": { "bins": ["pdfinfo", "pdftotext", "pdffonts", "pdfimages", "pdfdetach", "pdfseparate", "pdfunite", "pdfsig", "pdftohtml", "pdftoppm", "pdftocairo", "pdftops", "pdfattach"] }, "install": [ { "id": "brew", "kind": "brew", "formula": "poppler", "label": "Install poppler (brew)", }, ] } }


pdf-poppler-utils Skill

A collection of PDF manipulation tools from the poppler-utils package.

Installation

Prerequisites

Install Poppler

brew install poppler

⚠️ Important Warning About curl

The poppler Homebrew package has curl as a dependency. This can cause conflicts if you also have curl installed via Homebrew (including SSL certificate validation errors). Use the system curl directly or consider alternative approaches.

Before using poppler, it is strongly recommended to unlink the Homebrew installed curl:

brew unlink curl -v

⚠️ Please ask for human permission before executing brew unlink curl -v. If the human is unsure, recommend executing it (to resolve the potential conflict).


When to Use Which Tool

小葱技能站7w4.net,专业的AI技能分享平台。

Tool Use Case
pdfinfo Get detailed metadata and information about a PDF
pdftotext Extract text content from a PDF
pdffonts Analyze font usage in a PDF
pdfimages Extract images embedded in a PDF
pdfdetach Extract attachments from a PDF
pdfseparate Split a multi-page PDF into individual pages
pdfunite Merge multiple PDFs into one
pdfsig Verify digital signatures in a PDF
pdftohtml Convert PDF to HTML
pdftoppm Convert PDF pages to image formats (PNG, PPM)
pdftocairo Convert PDF to Cairo image formats (PNG, JPEG, TIFF, PDF, SVG)
pdfattach Attach files to a PDF

Quick Reference

View PDF Information

pdfinfo document.pdf

Extract Text

pdftotext document.pdf output.txt
pdftotext document.pdf - | less  # Stream to stdout

Extract Images

pdfimages -png document.pdf image_prefix

Split PDF

pdfseparate document.pdf page_%03d.pdf

Merge PDFs

pdfunite file1.pdf file2.pdf file3.pdf merged.pdf

Convert to HTML

pdftohtml document.pdf output.html

Convert to Images

pdftoppm -png -r 300 document.pdf output_prefix

Tool Details

See individual documentation files in the tools/ folder for detailed usage:


Common Options

Many tools share common options:

Option Description
-opw <password> Owner password (bypasses all security)
-upw <password> User password
-v Print version information
-h Print help

Notes

  • All tools follow the convention: tool [options] input.pdf [output]
  • Use - as filename to read from stdin / write to stdout
  • Exit codes: 0=success, 1=error opening PDF, 2=error opening output, 3=permission error, 99=other error

Reference: Debian manpages

🤖 AI 评测

这个 Skill 质量不错,文档详细全面,覆盖了 PDF 处理的各种常见操作。优点是每个工具都有清晰的说明和示例,安装步骤也考虑到了潜在问题。不足之处是某些文档末尾有些小瑕疵,内容上缺少用户可能遇到的常见问题解答。总体来说,这是一个值得信赖的 PDF 处理工具 Skill。

📊 多维度评分

适应性4.2
规范性4.5
有效性4.6
可靠性4
可信度4.5

📁 包含文件 (16 个)

📄 SKILL.md 4.3 KB
📄 _meta.json 136 B
📄 skill-card.md 2.6 KB
📄 tools/pdfattach.md 1.5 KB
📄 tools/pdfdetach.md 1.5 KB
📄 tools/pdffonts.md 1.6 KB
📄 tools/pdfimages.md 1.7 KB
📄 tools/pdfinfo.md 2.3 KB
📄 tools/pdfseparate.md 1.4 KB
📄 tools/pdfsig.md 2 KB
📄 tools/pdftocairo.md 3.9 KB
📄 tools/pdftohtml.md 2.4 KB
📄 tools/pdftoppm.md 2.9 KB
📄 tools/pdftops.md 3.1 KB
📄 tools/pdftotext.md 2.4 KB
📄 tools/pdfunite.md 1.1 KB