View Single Post
Old 06-18-2017, 04:50 PM   #1395
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,305
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by sanon View Post
Hi,

Any idea how I can convert this 2-column pdf handbook so that it is correctly optimized for a Paperwhite 2015. I can't get k2pdfopt to recognize the correct reading order of a 2-column region probably because of an image placed right at the center of the columns.
"-comax 1" also didn't help...

Thanks in advance...
These types of PDFs, with complicated / interrupted column flow, are typically not handled well by k2pdfopt. I need an alternate detection algorithm for flows like this that is smarter about anticipating the interruption. I processed the file somewhat by brute force--by using the -ibox option to ignore the dark "balloons" that interrupt the column flows:
Code:
k2pdfopt handbook.pdf -dev kp3 -ch .75 -ibox3 3.157in,6.032in,1.808in,2.342in -ibox4 5.41in,4.787in,2.149in,2.742in -ibox5 5.528in,1.364in,2.016in,2.683in -ibox6 2.949in,3.69in,2.357in,3.468in -ibox7 2.979in,3.216in,2.253in,3.483in
The result is attached.
Attached Files
File Type: pdf handbook_k2opt.pdf (2.34 MB, 265 views)
willus is offline   Reply With Quote