|
|
@ -1,4 +1,4 @@
|
|
|
|
# Utility Scripts for scanning documents
|
|
|
|
# Utility Scripts for scanning documents
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Software dependencies:
|
|
|
|
## Software dependencies:
|
|
|
@ -15,19 +15,19 @@ Install in Debian/Ubuntu w/ pip: sudo pip install 'mwclient==0.8.6'
|
|
|
|
## Scripts
|
|
|
|
## Scripts
|
|
|
|
|
|
|
|
|
|
|
|
### wiki-download.py
|
|
|
|
### wiki-download.py
|
|
|
|
Dowloads media files from a wiki, according to a sematic ask query.
|
|
|
|
Downloads media files from a wiki, according to a semantic ask query.
|
|
|
|
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
Usage:
|
|
|
|
python wiki-download.py --help
|
|
|
|
python wiki-download.py --help
|
|
|
|
|
|
|
|
|
|
|
|
python wiki-download.py -d imgs -a [[Modification_date::+]]
|
|
|
|
python wiki-download.py -d imgs -a [[Modification_date::+]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### imposition.py
|
|
|
|
### imposition.py
|
|
|
|
Converts 8 images (jpg or png) from a given directory, into a single sheet 4x2 imposition.
|
|
|
|
Converts 8 images (jpg or png) from a given directory, into a single sheet 4x2 imposition.
|
|
|
|
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
Usage:
|
|
|
|
python wiki-download.py --help
|
|
|
|
python wiki-download.py --help
|
|
|
|
|
|
|
|
|
|
|
|
python imposition.py --dir imgs/ --size a3 --pages 2 --order random
|
|
|
|
python imposition.py --dir imgs/ --size a3 --pages 2 --order random
|
|
|
|
|
|
|
|
|
|
|
@ -52,4 +52,3 @@ 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
|
|
|
|
Rotates all images in one a directory a given number of degrees
|
|
|
|
|
|
|
|
|
|
|
|
Usage: `./rotate.sh imgs-dir-name rotation-in-degrees`
|
|
|
|
Usage: `./rotate.sh imgs-dir-name rotation-in-degrees`
|
|
|
|
|
|
|
|
|
|
|
|