Scanning Utils

From XPUB & Lens-Based wiki

Scaning Utils

Repository: https://git.xpub.nl/XPUB/scan-utils

Software dependencies:

  • scanning software
    • linux: sane,xsane
  • Mac/Widows Canon Lide 120 drivers
  • pdftk (Mac/Windows installer )
  • imagemagick (Mac: brew install imagemagick)
  • Git (Mac: brew install git)


Download them with git:

git clone https://git.xpub.nl/XPUB/scan-utils.git

imgs2pdf.sh

  • Converts a directory of images onto a single PDF
  • Usage:
    ./imgs2pdf.sh imgs-dir-name pdf-filename
  • Note1: imgs-dir must be inside the scan-utils.git directory.
  • Note2: If no pdf-filename is provided, output.pdf will the default file name

rotate.sh

  • Rotates all images in one a directory a given number of degrees
  • Usage:
    ./rotate.sh imgs-dir-name rotation-in-degrees