a2ping
Convert images into EPS or PDF files. tldr-pages
On several platforms
Several platforms
Convert an image to PDF (Note: Specifying an output filename is optional)
a2ping path/to/image.ext path/to/output.pdfIdentifyCompress the document using the specified method
a2ping --nocompress none path/to/fileIdentifyScan HiResBoundingBox if present (defaults to yes)
a2ping --nohires path/to/fileIdentifyAllow page content below and left of the origin (defaults to no)
a2ping --below path/to/fileIdentifyPass extra arguments to gs
a2ping --gsextra arguments path/to/fileIdentifyPass extra arguments to external program (i.e. pdftops)
a2ping --extra arguments path/to/fileIdentifyDisplay help
a2ping --helpIdentify