View Single Post
Old 02-07-2022, 05:58 PM   #1907
Shohreh
Addict
Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.Shohreh ought to be getting tired of karma fortunes by now.
 
Posts: 207
Karma: 304158
Join Date: Jan 2016
Location: France
Device: none
Question Compressing a scanned PDF?

Hello,

I'd like to recompress an 800-page black and white PDF that is actually a scanned + OCRed copy of an out-of-print book.

This is for viewing on the computer, not on an e-reader specifically.

Without knowing what I'm doing, I simply tried the "-bpc" option on a single page, but it looks nowhere like the original, and it's the same size (~130kB → The whole book would be about 100MB, like the original).

What switches would you suggest I try?

Thank you.



--

Edit: The following using Ghostscript only shrinks the page slightly (101,684 bytes → 85,876) :

Code:
"c:\Program Files\gs\gs9.55.0\bin\gswin32c.exe" -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=single.output.pdf single.pdf

Last edited by Shohreh; 02-08-2022 at 08:26 AM.
Shohreh is offline   Reply With Quote