View Single Post
Old 09-30-2015, 08:39 PM   #1161
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 isaacbh View Post
Thank you so much for this new version. I'm already using some of the new features with good results. I'm a bit unclear about the usage of -bpm. How do I translate the color I chose into a triplet that the program can understand? Also, just how big should the marking be so the program will recognize it reliably?
For the example that I was given here, the usage would be:

Code:
k2pdfopt -bpm 0,1,0 ...
0,1,0 = r,g,b triplet for a bright green line (red and blue 0, green 1).
A line like in the linked example works for a page break, but it doesn't have to span the page. It can actually just be a green (or other color) dot if you want. Only one pixel of the right color need be found to act as a page break marker.

Last edited by willus; 09-30-2015 at 08:42 PM.
willus is offline   Reply With Quote