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

32 lines
771 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.

# a2ping
> 将图像转换为 EPS 或 PDF 文件。
> 更多信息:<https://manned.org/a2ping>。
- 将图像转换为 PDF注意指定输出文件名是可选的
`a2ping {{path/to/image.ext}} {{path/to/output.pdf}}`
- 使用指定的方法压缩文档:
`a2ping --nocompress {{none|zip|best|flate}} {{path/to/file}}`
- 如果存在,扫描 HiResBoundingBox默认为是
`a2ping --nohires {{path/to/file}}`
- 允许页面内容位于原点下方和左侧(默认为否):
`a2ping --below {{path/to/file}}`
- 传递额外参数给 `gs`
`a2ping --gsextra {{arguments}} {{path/to/file}}`
- 传递额外参数给外部程序(即 `pdftops`
`a2ping --extra {{arguments}} {{path/to/file}}`
- 显示帮助信息:
`a2ping -h`