projects
/
hvutilities.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59fb465
)
Set scanimage default format to PNM
author
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 8 Mar 2022 04:28:07 +0000
(23:28 -0500)
committer
Hugo Villeneuve
<hugo@hugovil.com>
Tue, 8 Mar 2022 04:28:07 +0000
(23:28 -0500)
scripts/hv-scan
patch
|
blob
|
history
diff --git
a/scripts/hv-scan
b/scripts/hv-scan
index
d1b5628
..
cca5d58
100755
(executable)
--- a/
scripts/hv-scan
+++ b/
scripts/hv-scan
@@
-75,6
+75,6
@@
fi
src=${1}
-scanimage --mode ${color_mode} --resolution ${resolution} ${scan_area} | \
+scanimage --
format=pnm --
mode ${color_mode} --resolution ${resolution} ${scan_area} | \
convert - -compress jpeg -quality ${jpeg_quality} ${resize_pdf} \
${src}.${extension}