![]() |
#346 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55
Karma: 603120
Join Date: Aug 2012
Location: Monte Los Angeles (Califoggia)
Device: Android Tablet, Kindle Paperwhite
|
thanks mate!!
I still haven't try the options you suggested me, but I want to thank you anyway! Even if these options will not output a perfect result, I have to say that you are very kind! I like that, I appreciate that! Have a nice day, now let's try it.. see you! ![]() |
![]() |
![]() |
![]() |
#347 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
I have a similar issue with the -n parameter where the Kindle becomes horribly slow with occasional crashes when reading a document. The reason I'm experimenting with -n is because I want to be able to highlight documents. The source PDF is text and not bitmap so OCR should not be necessary, right?
I also noticed that with -n the font on Kindle is much smoother which I'd prefer, but right now it's impossible to read the documents because of the slowness. Regardless of the shortcomings k2pdfopt is a huge improvement over PDF to mobi conversion or reading PDFs as is on Kindle. Cheers. Last edited by rgn; 03-15-2013 at 01:04 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#348 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 2848
Join Date: Feb 2013
Location: Lithuania
Device: Kobo Glo
|
![]()
Hi, is there a way for k2pdfocr to ignore the dark vertical strip in the middle of the page that you usually get when you scan a book?
Here is an example page, the strip gets attached to one of the pages... testpage.pdf |
![]() |
![]() |
![]() |
#349 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#350 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#351 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
Quote:
What do you think is the problem with this one? http://imgur.com/a/0sW2e |
|
![]() |
![]() |
![]() |
#352 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#353 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 2848
Join Date: Feb 2013
Location: Lithuania
Device: Kobo Glo
|
![]() Quote:
Hopefully, the final question: is there a way to run k2pdfopt in a completely non-interactive mode? I see there is -x prameter, but it cuts out just the second necessary step... I want to use k2pdf in a KDE Dolphin as a servicemenu, so I either need to get it to run in a non-interactive mode completely, or for it to launch a shell... |
|
![]() |
![]() |
![]() |
#354 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#355 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
Getting segfaults with a specific PDF and with certain parameters the segfaults happen much earlier in the processing. Let me know what I can do if you want to look into this.
Code:
SOURCE PAGE 433 of 439 (6.0 x 9.0 in) ... [1] 67429 segmentation fault ./k2pdfopt -f2p -bp -dev k2 -x -ui- -o miwftm.pdf Code:
SOURCE PAGE 3 (3 of 20) (6.0 x 9.0 in) ... [1] 67850 segmentation fault ./k2pdfopt -p 1-20 -dev k2 -x -ui- -o miwftm.pdf Code:
SOURCE PAGE 3 of 439 (6.0 x 9.0 in) ... [1] 67843 segmentation fault ./k2pdfopt -mt 1.0 -mb 1.0 -dev k2 -x -ui- -o miwftm.pdf Code:
k2pdfopt v1.64a (w/MuPDF,DjVuLibre,OCR) (c) 2013, GPLv3, http://willus.com Compiled Jan 5 2013 with Gnu C v4.2.1 for OS/X on i386. Last edited by rgn; 03-17-2013 at 11:49 AM. |
![]() |
![]() |
![]() |
#356 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#357 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
Yeah, it seems that the pages being blank has something to do with the crashes. But weirdly just adding -p 1-20 can make it crash while it would run fine without the parameter (until crashing later at page 433 which was blank).
|
![]() |
![]() |
![]() |
#358 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Mar 2013
Device: Kindle
|
Hey Willus, thanks for making this very useful program.
Right now, I am trying to make a book readable on my kindle 4. I've played around with the settings quite a bit, but am unable to do it. If someone wants to take a look and try to help me, here is the link: https://www.dropbox.com/s/lamafvwn13...%20example.pdf |
![]() |
![]() |
![]() |
#359 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
Update: Since your book goes right to the edges, you'll need to specify -m 0 so that k2pdfopt doesn't crop away some of the text. If you want re-flow, that should work reasonably well. If you want OCR along with re-flow, add -ocr t (you'll want to set up tesseract). If you can read the book without re-flowing it, you may prefer using -mode fw (see my native PDF help page). Last edited by willus; 03-18-2013 at 08:34 AM. Reason: Added update section |
|
![]() |
![]() |
![]() |
#360 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Mar 2013
Device: kindle 4
|
want smaller word spacing and line spacing
Hey, firstly let me thank you for this amazing program.I use - ws 0.01 -dpi 300 -gtc 0 -gtc 0 -gtw 0 to convert test.pdf.The result is test_k2opt.pdf.But i feel the word spacing and line spacing is too large on my kindle4,thus a waste of space.In order to make smaller word spacing and line spacing,what command should i use?What do you think is the perfect command for test.pdf on kindle4 ?thanks.
|
![]() |
![]() |
![]() |
Tags |
ebook apps, k5 tools, kindle tools, kindle touch, tools |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viewing PDFs with another font | Font | PocketBook | 4 | 11-12-2010 08:27 AM |
Viewing Textbook PDFs... | NJReader | enTourage Archive | 4 | 08-17-2010 05:17 PM |
PRS-600 Restart bug while viewing PDFs? | conundrum | Sony Reader | 2 | 03-04-2010 08:46 PM |
More on viewing pdfs | dso371 | Bookeen | 8 | 03-11-2008 07:15 PM |
Viewing Untagged PDFs on Palm T|X | Eroica | Reading and Management | 3 | 12-10-2007 01:44 PM |