View Single Post
Old 02-04-2021, 09:48 AM   #7
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,171
Karma: 9900000
Join Date: Jun 2011
Location: California
Device: iPad
By default in “copy” mode, k2pdfopt auto-adjusts the contrast of each page and uses a gamma of 0.5 to help darken the text:

k2pdfopt -mode copy infile.pdf -o outfile.pdf

Command-line parameters impacting this are:
-cmax Adjust contrast
-g Adjust gamma
-s[-] Turn on [off] sharpening (on by default in -mode copy)
willus is offline   Reply With Quote