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