Raster (bitmap) image converter with smart PDF and PostScript (EPS) output. More information: https://github.com/pts/sam2p.
sam2p *.pdf path/to/output.pdf