You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Castro0o 3624b0fdd1 edited README 6 months ago
numbered-imgs numbered imgs for imposition dummy 2 years ago
.gitignore Added ignore for default wiki download folder 2 years ago edited README 6 months ago imposition and wiki-download in da house 2 years ago Added default imgs folder for wiki download 2 years ago README updated 2 years ago rotate script 2 years ago Fixed help message 2 years ago

Utility Scripts for scanning documents

See usage example in:

Software dependencies:

Packages: pdftk, imagemagick Install in Debian/Ubuntu: apt-get install pdftk imagemagick

Install in Mac with brew ( brew install pdftk imagemagick

Python libraries: mwclient (version 0.8.6)

Install in Debian/Ubuntu w/ pip: sudo pip install ‘mwclient==0.8.6’


Downloads media files from a wiki, according to a semantic ask query.

Usage: python --help

python -d imgs -a Modification_date::+

Converts 8 images (jpg or png) from a given directory, into a single sheet 4x2 imposition.

Usage: python --help

python --dir imgs/ --size a3 --pages 2 --order random

Converts first page of PDFs to a jpeg with the ending _cover.jpeg

Usage: ./ imgs-dir-name

Software dependencies: gs (ghostscript)

Converts a directory of images onto a single PDF

Usage: ./ imgs-dir-name pdf-filename

If no pdf-filename is provided, output.pdf will the default file name

Rotates all images in one a directory a given number of degrees

Usage: ./ imgs-dir-name rotation-in-degrees