Pdf Poppler Utils
v1.0.0A collection of PDF manipulation 工具s from the poppler-utils package. Use when working with PDF files - 提取ing text, images, metadata, splitting, merging, converting to other 格式化s, or managing attachments.
运行时依赖
安装命令
点击复制技能文档
pdf-poppler-utils 技能
A collection of PDF manipulation 工具s from the poppler-utils package.
安装ation Prerequisites Homebrew 安装ed on your 系统 安装 Poppler brew 安装 poppler
⚠️ 导入ant 警告 About curl
The poppler Homebrew package has curl as a dependency. This can cause conflicts if you also have curl 安装ed via Homebrew (including SSL certificate 验证 errors). Use the 系统 curl directly or consider alternative 应用roaches.
Before using poppler, it is strongly recommended to unlink the Homebrew 安装ed curl:
brew unlink curl -v
⚠️ Please ask for human 权限 before executing brew unlink curl -v. If the human is unsure, recommend executing it (to resolve the potential conflict).
When to Use Which 工具 工具 Use Case pdf信息 获取 detAIled metadata and in格式化ion about a PDF pdftotext 提取 text content from a PDF pdffonts Analyze font usage in a PDF pdfimages 提取 images embedded in a PDF pdfdetach 提取 attachments from a PDF pdfseparate Split a multi-page PDF into individual pages pdfunite Merge multiple PDFs into one pdfsig 验证 digital 签名atures in a PDF pdftohtml Convert PDF to HTML pdftoppm Convert PDF pages to image 格式化s (PNG, PPM) pdftocAIro Convert PDF to CAIro image 格式化s (PNG, JPEG, TIFF, PDF, SVG) pdfattach Attach files to a PDF Quick Reference View PDF In格式化ion pdf信息 document.pdf
提取 Text pdftotext document.pdf 输出.txt pdftotext document.pdf - | less # 流 to stdout
提取 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 输出.html
Convert to Images pdftoppm -png -r 300 document.pdf 输出_prefix
工具 DetAIls
See individual documentation files in the 工具s/ folder for detAIled usage:
pdfattach - Attach files to a PDF pdfdetach - 提取 attachments from a PDF pdffonts - Analyze fonts in a PDF pdfimages - 提取 images from a PDF pdf信息 - 获取 PDF metadata and in格式化ion pdfseparate - Split PDF into individual pages pdfsig - 验证 digital 签名atures pdftocAIro - Convert PDF to CAIro 格式化s pdftohtml - Convert PDF to HTML pdftoppm - Convert PDF to PPM/PNG images pdftops - Convert PDF to PostScript pdftotext - 提取 text from PDF pdfunite - Merge multiple PDFs Common Options
Many 工具s 分享 common options:
Option Description -opw Owner password (bypasses all security) -upw User password -v Print version in格式化ion -h Print help Notes All 工具s follow the convention: 工具 [options] 输入.pdf [输出] Use - as filename to read from stdin / write to stdout Exit codes: 0=成功, 1=error opening PDF, 2=error opening 输出, 3=权限 error, 99=other error
Reference: Debian manpages