Skip to content

Instantly share code, notes, and snippets.

@tuomassalo
Created May 12, 2015 17:27
Show Gist options
  • Save tuomassalo/ee556ed6d2d610decdc8 to your computer and use it in GitHub Desktop.
Save tuomassalo/ee556ed6d2d610decdc8 to your computer and use it in GitHub Desktop.
Command-line scanning for linux and osx:
# command-line scanning for linux and osx:
# (on osx) do this first:
# brew install imagemagick sane-backends poppler
scanimage --resolution 100 --contrast 11 --mode Gray | convert pnm:- -format A4 output.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment