Junk

Junk Commit Details

Date:2019-02-12 20:47:50 (5 months 10 days ago)
Author:Nicola Fontana
Branch:master
Commit:20106583d0ef796f3b49c35a5760e1f9b29eaaab
Parents: ffc058d050e3e66a476457b03203c67a5ba9008b
Message:scanna: initial import

Changes:
Amisc/scanna (full)

File differences

misc/scanna
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash
die() {
cat <<_EOT
$1
Usage: $0 FILENAME
_EOT
exit 1
}
[ -z "$1" ] && die "FILENAME not specified."
scanimage --format jpeg --mode Color --resolution 300 |
convert - -resize 768x - |
jpegoptim --stdin -sm 80 > "$1.jpeg"

Archive Download the corresponding diff file

Branches