aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-03-12 14:59:21 -0700
committerSean Whitton <spwhitton@spwhitton.name>2017-03-12 14:59:21 -0700
commit0ed9325420ea098dc0b8757ab7181ee85ac10369 (patch)
treeabae528a7dc8fb820a8b2511f2c9b5955f3cebd0
parentc1826256c010cd9c1838a25ff5c991154f115ec8 (diff)
downloadsscan-0ed9325420ea098dc0b8757ab7181ee85ac10369.tar.gz
fix qpdf args
-rw-r--r--Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Main.hs b/Main.hs
index 09b6779..47b6b18 100644
--- a/Main.hs
+++ b/Main.hs
@@ -74,7 +74,7 @@ processScanSessDir st dir = withCurrentDirectory dir $ do
-- 4. qpdf (ocrmypdf invokes qpdf but it doesn't use
-- --linearize, which shrinks the PDF, often substantially)
void $ createProcessWait_ "qpdf"
- (proc "qpdf" ["--linearize", "temp.pdf"])
+ (proc "qpdf" ["--linearize", "temp.pdf", "-"])
{ std_in = NoStream
, std_out = UseHandle outH
, std_err = UseHandle logH