Set scanimage default format to PNM
authorHugo Villeneuve <hugo@hugovil.com>
Tue, 8 Mar 2022 04:28:07 +0000 (23:28 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Tue, 8 Mar 2022 04:28:07 +0000 (23:28 -0500)
scripts/hv-scan

index d1b5628..cca5d58 100755 (executable)
@@ -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}