Files
tldr/pages.zh/common/pdfimages.md

20 lines
555 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# pdfimages
> 从PDF中提取图像的工具。
> 更多信息:<https://manned.org/pdfimages>。
- 从PDF文件中提取所有图像并将它们保存为PNG格式
`pdfimages -png {{path/to/file.pdf}} {{filename_prefix}}`
- 从第3页到第5页提取图像
`pdfimages -f {{3}} -l {{5}} {{path/to/file.pdf}} {{filename_prefix}}`
- 从PDF文件中提取图像并在输出文件名中包含页码
`pdfimages -p {{path/to/file.pdf}} {{filename_prefix}}`
- 列出PDF文件中所有图像的信息
`pdfimages -list {{path/to/file.pdf}}`