scanbuddy Processes a directory of jpegs, resampling to a reasonable size, and combining into a single pdf. Relies on ImageMagick (brew install imagemagick).