View Single Post
Old 02-24-2020, 10:14 PM   #327
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,274
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by nlundberg View Post
Thanks, how should I do the two passes? Add the commands in one terminal session, or process quit, load out1.pdf and do 2nd pass?

I get this message on 2nd pass anyway:

Code:
Reading 294 pages from out1.pdf ...

SOURCE PAGE 1 of 294 (3.7 x 4.3 in) ... 1 new page saved.
warning: premature end of data in flate filter
warning: ... repeated 2 times ...
warning: premature end of data in flate filter
 warning: ... repeated 2 times ...
Then it goes idle after page 16. :/
It hangs processing page 17, which doesn't have any text anyway, so you can just skip that page. I adjusted the autocrop to be not quite as aggressive.


k2pdfopt -mode crop -t -ac .02 -as -w 7in -h 8in out1.pdf -o out2.pdf -px 17
willus is offline   Reply With Quote