View Single Post
Old 08-17-2024, 03:43 AM   #2074
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: 224
Karma: 304158
Join Date: Jan 2016
Location: France
Device: none
I have another question.

The original PDF is an image-only file — meaning: In SumatraPDF, I can't select text with the mouse.

After running that original file through k2, the output on my e-reader is fine.

However, I'm having a problem with inputs that I ran through Abbyy Fine Reader:
- Saved as "searchable" PDF: The output from k2 inserts carriage returns about half-way through each line
- Saved as "image" PDF: I only get empty pages.

I zipped a sample of each file (original, searchable, image). I used the following commands:
Code:
#mt to remove header
#good
k2pdfopt.exe -w 758 -h 1024 -dpi 213 -mode fw -ls- -mt 1.02 -fc- input.original.pdf
#wrong carriage returns
k2pdfopt.exe -w 758 -h 1024 -dpi 213 -mode fw -ls- -mt 1.02 -fc- input.OCR.searchable.pdf
#only empty pages
k2pdfopt.exe -w 758 -h 1024 -dpi 213 -mode fw -ls- -mt 1.02 -fc- input.OCR.image.pdf
Thank you.
Shohreh is offline   Reply With Quote