diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-12 14:59:21 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-12 14:59:21 -0700 |
commit | 0ed9325420ea098dc0b8757ab7181ee85ac10369 (patch) | |
tree | abae528a7dc8fb820a8b2511f2c9b5955f3cebd0 | |
parent | c1826256c010cd9c1838a25ff5c991154f115ec8 (diff) | |
download | sscan-0ed9325420ea098dc0b8757ab7181ee85ac10369.tar.gz |
fix qpdf args
-rw-r--r-- | Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |