Skip to content

Instantly share code, notes, and snippets.

@asmega
Created April 6, 2012 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asmega/2319136 to your computer and use it in GitHub Desktop.
Save asmega/2319136 to your computer and use it in GitHub Desktop.
scan a document in lineart mode
scanimage --mode Lineart --resolution 600 > test.pnm
scanimage --mode Lineart --batch-prompt --batch-count 2 --resolution 600
convert out1.pnm out2.pnm out.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment