sam2p is a very fast and efficient converter from raster images to postscript or pdf files.
This is my copy of old source code.
A version on github is more recent, at least 0.49.4.
It compiles on the latest (as of today) macOSX 10.14.1:
origin: 2018 Nov 21
updated: 2018 Nov 22