2023-10-14 05:14:27 +01:00
|
|
|
# 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}}`
|
|
|
|
|
2023-12-03 12:59:57 +00:00
|
|
|
- Scan HiResBoundingBox if present (defaults to yes):
|
2023-10-14 05:14:27 +01:00
|
|
|
|
|
|
|
`a2ping --nohires {{path/to/file}}`
|
|
|
|
|
2023-12-03 12:59:57 +00:00
|
|
|
- Allow page content below and left of the origin (defaults to no):
|
2023-10-14 05:14:27 +01:00
|
|
|
|
|
|
|
`a2ping --below {{path/to/file}}`
|
|
|
|
|
2023-11-17 06:19:03 +00:00
|
|
|
- Pass extra arguments to `gs`:
|
2023-10-14 05:14:27 +01:00
|
|
|
|
|
|
|
`a2ping --gsextra {{arguments}} {{path/to/file}}`
|
|
|
|
|
2023-11-19 05:49:28 +00:00
|
|
|
- Pass extra arguments to external program (i.e `pdftops`):
|
2023-10-14 05:14:27 +01:00
|
|
|
|
|
|
|
`a2ping --extra {{arguments}} {{path/to/file}}`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`a2ping -h`
|