View Single Post
Old 12-01-2020, 09:42 PM   #1828
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,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by kleber View Post
Thanks for the answer!

Aparentelly my antivirus was blocking k2pdfopt from opening the file. But now I´m doing some tests and I wonder: is there a way to do an autocrop of a scanned pdf to take away the margins (including those dark edges due to copying artifacts) while, at the same time, maintaining the content of each original page (not mixing pages together)? Thanks!
Yes--see the -ac option in the command-line usage page. Something like this:

k2pdfopt -mode tm -ac myfile.pdf

The autocrop (-ac) option can give mixed results. You'll have to see if it works for you. If the page contents are in a consistent location page to page, you can also assign a manual crop box using the section of the gui shown in the attachment.
Attached Thumbnails
Click image for larger version

Name:	k2gui.png
Views:	301
Size:	24.4 KB
ID:	183736  
willus is offline   Reply With Quote