mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 09:42:07 +02:00

* a2ping: add page --------- Signed-off-by: Pranav <npv12@iitbbs.ac.in> Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
32 lines
786 B
Markdown
32 lines
786 B
Markdown
# a2ping
|
|
|
|
> Convert images into EPS or PDF files.
|
|
> More information: <https://manned.org/a2ping>.
|
|
|
|
- Convert an image to PDF (Note: Specifying an output filename is optional):
|
|
|
|
`a2ping {{path/to/image.ext}} {{path/to/output.pdf}}`
|
|
|
|
- Compress the document using the specified method:
|
|
|
|
`a2ping --nocompress {{none|zip|best|flate}} {{path/to/file}}`
|
|
|
|
- Scan HiResBoundingBox if present (Note: It Defaults to yes):
|
|
|
|
`a2ping --nohires {{path/to/file}}`
|
|
|
|
- Allow page content below and left of the origin (Note: It defaults to no):
|
|
|
|
`a2ping --below {{path/to/file}}`
|
|
|
|
- Pass extra arguments to `gs``:
|
|
|
|
`a2ping --gsextra {{arguments}} {{path/to/file}}`
|
|
|
|
- Pass extra arguments to external program (i.e pdftops):
|
|
|
|
`a2ping --extra {{arguments}} {{path/to/file}}`
|
|
|
|
- Display help:
|
|
|
|
`a2ping -h`
|