View Single Post
Old 02-04-2023, 08:12 PM   #2001
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
I recommended this for Quoth's archive.org download (with substantially yellowed pages):

k2pdfopt -mode copy -dpi 400 -c- -g 1 -bpc 4 -cmax -5 sourcefile.pdf

-dpi 400 for 400 dpi. The source file has a dpi of 600.

-c- to turn off color (make it grayscale)

-g 1 to turn off gamma correction (default of -g 0.5 makes things darker)

-bpc 4 to get 4-bit grey scale (the default)

-cmax -5 to force the contrast level to 5 to get the page background mostly white.
willus is offline   Reply With Quote