summaryrefslogtreecommitdiffstats
path: root/scan-multi
diff options
context:
space:
mode:
Diffstat (limited to 'scan-multi')
-rwxr-xr-xscan-multi4
1 files changed, 2 insertions, 2 deletions
diff --git a/scan-multi b/scan-multi
index fc6ca33..2a218ce 100755
--- a/scan-multi
+++ b/scan-multi
@@ -4,12 +4,12 @@ jpeg_quality=70
jpeg_size=1500x1500
time=$(date +%Y-%m-%d_%H%M%S)
-scanimage --resolution 200 -b -x 215 -y 297
+scanimage --resolution 200 -b -x 210 -y 297
i=1
while [[ -e "out$i.pnm" ]]; do
img="out$i.pnm"
newname="$(printf "%s_%03d" "$time" "$i")"
- convert "$img" -normalize -resize $jpeg_size -quality $jpeg_quality "$newname.jpg" && rm "$img"
+ convert "$img" -resize $jpeg_size -quality $jpeg_quality "$newname.jpg" && rm "$img"
((i++))
done