View Single Post
Old 10-25-2020, 03:36 PM   #1818
ioo
Junior Member
ioo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2020
Device: Kindle
Quote:
Originally Posted by willus View Post
See above--you are using a version compiled without MuPDF. This means the -n option won't work with your version. Did you try a linux binary from my web site? Here's an example of how the banner should look:

k2pdfopt v2.53 (w/MuPDF,DjVuLibre,OCR) (c) 2020, GPLv3, http://willus.com
Compiled Jul 18 2020 with Gnu C (Mingw64) v9.3.1 for Win64 on x64.
Thank you for the quick reply, the error message was confusing me. It seemed to be indicating that it was misinterpreting my -n argument rather than indicating there were parts of the program missing.

I have been working with k2pdtopt for a few days now and getting some mediocre results with converting a magazine containing 2 and 3 column material with mixed results.

My target device is an 8th generation Kindle. If I do not use -n but instead use the following:

-dev k2 -fs 12 -wrap- -bp m -ac 0.009 -col 3 -ws 0.2 -fc-

I am able to achieve good results in terms of cutting up the paragraphs while preserving the paragraph structure and removing the white space.

This approach however generated images which do not look good on my Kindle (the fonts are not smooth) and it take away text searching capabilities.

I did try the -n option but the resulting pdf is extremely slow to respond on the target device. It basically renders the kindle frozen for minutes. Is this due to the processor not being able to handle the formatting that is added to the pdf file? If I use the original pdf it is responsive. Is my analysis here correct- that the kindle can't handle the added formatting or do you think there is another issue?

To address this, I then tried to use calibre to convert the -n pdf to mobi format but after 1 day of processing a single k2pdfopt file I gave up. Are you aware of this approach working for others? It seems that Calibre will process the original pdf but not the one outputted by k2pdfopt

I did notice something strange. If I do not use the -n and generate a pdf with images, then use calibre to convert it to the mobi format, the fonts looks slightly more smooth. I do not understand how this would work as k2pdfopt has already created the images. How can converting a series of images from pdf to mobi improve the fonts?

I thought maybe the issue was I am using the wrong -dev which outputs images of a certain resolution then maybe calibre is correcting it and resizing the images? Perhaps this can account for the improvement in image quality?

I am using -dev 2 which states it is for Kindle 1-5 however I have an 8th generation kindle. Is this correct or should I use a different -dev?

Calibre states that the "Kindle" profile has a resolution of 525x640 however online I see the resolution for my device to be 600X800. If I use -dev 2 what will the output resolution of the images be?

Any advice you can provide or things I can try to get better results would be greatly appreciated. Thank you for this awesome project.
ioo is offline   Reply With Quote