From: Hugo Villeneuve Date: Tue, 8 Mar 2022 04:28:07 +0000 (-0500) Subject: Set scanimage default format to PNM X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=aedba93e8c9933315b98caf3def1f917001dcd7e;p=hvutilities.git Set scanimage default format to PNM --- diff --git a/scripts/hv-scan b/scripts/hv-scan index d1b5628..cca5d58 100755 --- 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}