From 4f2e72f8cec5f7b6f26c66b0f7cd550f4127e5bf Mon Sep 17 00:00:00 2001 From: Pranav Nedungadi <59979143+npv12@users.noreply.github.com> Date: Sat, 14 Oct 2023 09:44:27 +0530 Subject: [PATCH] a2ping: add page (#10944) * a2ping: add page --------- Signed-off-by: Pranav Signed-off-by: K.B.Dharun Krishna Co-authored-by: K.B.Dharun Krishna --- pages/common/a2ping.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/a2ping.md diff --git a/pages/common/a2ping.md b/pages/common/a2ping.md new file mode 100644 index 000000000..f907ac379 --- /dev/null +++ b/pages/common/a2ping.md @@ -0,0 +1,32 @@ +# a2ping + +> Convert images into EPS or PDF files. +> More information: . + +- 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`