snippetbashTip
a2ping — Convert images into EPS or PDF files. More information: <https://manned.org/a2ping>.
Viewed 0 times
commandimagesa2pingepsconvertcliintopdf
Problem
How to use the
a2ping command: Convert images into EPS or PDF files. More information: <https://manned.org/a2ping>.Solution
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 (defaults to yes):
a2ping --nohires {{path/to/file}}Allow page content below and left of the origin (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|--help]}}Code Snippets
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 (defaults to yes)
a2ping --nohires {{path/to/file}}Allow page content below and left of the origin (defaults to no)
a2ping --below {{path/to/file}}Pass extra arguments to `gs`
a2ping --gsextra {{arguments}} {{path/to/file}}Context
tldr-pages: common/a2ping
Revisions (0)
No revisions yet.