View Single Post
Old 10-07-2015, 10:05 PM   #1175
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 loviedovie View Post
willus thanks for the reply.

I actually tried that but the issue was a usability thing for me, because I am not sure if I was getting the dimensions right.

The other issue is that sometimes the placement of those can be minus plus with scanned pdfs, especially if the pdfs are scanned with a camera device so putting hard coded numbers will most likely cut off usable parts as well.
There is an app called ScanTailor that helps you clean up scanned PDFs. Or you could do a first pass where you simply have k2pdfopt crop and autostraighten your doc:

Code:
k2pdfopt -ac -as -mode trim -n source.pdf -o source_cropped.pdf
...and then use the technique I described in the previous post.

Quote:
Originally Posted by loviedovie View Post
The last issue related to it is that I personally like to have them as part of the page just in proper place, not part of the last line.

I am not sure if there is a way to achieve this maybe K2Pdf needs some kind of pattern recognition and training mode
Don't expect a feature like this from me anytime soon. The heuristics involved with auto-detecting a page number / header / footer are likely fraught with false positives and false negatives. The goal of k2pdfopt is to make your document comfortably readable and intelligible on an e-reader within reason, but not necessarily to achieve perfection.

Quote:
Originally Posted by loviedovie View Post
In anycase I like this software as a desktop tool and as it being part of the Koreader.
Thank you.
willus is offline   Reply With Quote