![]() |
#316 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21
Karma: 12696
Join Date: Aug 2012
Device: onyx m92
|
K2PDF v1.6a recent crashes on batch processing
dear Willus
i am using windows xp 32 bit. when i try to load batch of pdf files the application crashes after processing first file especially in native pdf output. can u fix it? |
![]() |
![]() |
![]() |
#317 |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
|
![]() |
![]() |
Advert | |
|
![]() |
#318 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2013
Device: Kindle 5
|
native pdf output and text reflow
Hi Willus,
first I'd like to thank you for this great tool. Wouldn't be possible to read scientific papers on the Kindle in such a comfortable way without k2pdfopt. Thanks! I've got a question on native PDF output and text reflow... In the command line documentation it says: Code:
1. Native PDF output cannot be used with text wrapping on (see -wrap option). Turning it on will disable text wrapping. Will it be possible in the future? I'm asking, as the native PDFs have much smoother fonts and therefore are much nicer to read, but as they still have the same number of word's per line, esp. single column documents become hard to read due to small font size... Thanks a lot, Carsten |
![]() |
![]() |
![]() |
#319 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#320 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2013
Device: Kindle 5
|
Thanks for te fast answer. Will try the higher resolution then...
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#321 |
Member
![]() Posts: 10
Karma: 10
Join Date: Dec 2012
Device: Kindle 3
|
hi willus,
thank you once again for such a terrific program. i am having difficulty to convert a scanned two page in a row file into k2opt format. i have tried -ocr command but the result was ineffective. which command lines would you suggest to get a solid version of this pdf for kindle device? p.s. i attach those files to the post. |
![]() |
![]() |
![]() |
#322 |
Member
![]() Posts: 16
Karma: 10
Join Date: Mar 2012
Device: Sony PRS T1
|
I converted a document using -n -dev kpw for kindle paperwhite and is tooooo slow on kindle + Low Memory crash !!!
This is the file : http://www.4shared.com/office/xcmp4h...ses_k2opt.html |
![]() |
![]() |
![]() |
#323 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#324 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
k2pdfopt -mode copy -n -grid 2x1x1.5 -w 1t -h 1t century20.pdf -o temp.pdf k2pdfopt -dev kpw -as temp.pdf -m 0.4,0.2,0.4,0.2 -de 1.5 -gtr .015 -o century20_k2pdfopt.pdf The first command splits the book into a one-page-per-page temp file so that each page can be auto-straightened. The second command processes the new temp file to create the final output. If you want to turn on OCR, Tesseract does a decent job of OCR-ing the temp file if you have it installed. Just add -ocr to the second command. Here's what some of the other options do (a complete list of command-line options is here): -dev kpw sets for paperwhite. You can leave that off if you have an older kindle. -as will auto-straighten each page, which will help k2pdfopt break up the rows correctly. -m 0.4,0.2,0.4,0.2 will ignore 0.4 inches on the sides and 0.2 inches on the top and bottom of the temp file. This will chop off some of the unwanted marks in the margins that are keeping k2pdfopt from re-flowing the document correctly. -de 1.5 sets the defect size to 1.5 points so that little marks that are up to 1.5 points in size will be ignored (the scan quality is poor and you have lots of these). -gtr 0.015 will make k2pdfopt a little more aggressive than normal in breaking lines of text since some of them are pretty close together. Of course, you can try adjusting any or all of the options above--I only had four pages of your book to work with, so they might no be tuned quite correctly. I wasn't able to get a perfect result, but it's an improvement over what you got, I think. Last edited by willus; 02-14-2013 at 09:09 AM. |
|
![]() |
![]() |
![]() |
#325 |
Member
![]() Posts: 16
Karma: 10
Join Date: Mar 2012
Device: Sony PRS T1
|
Its not about this document, All of my documents cause kindle to stop and restart !!!
This is the source file : http://www.4shared.com/office/GGuGXW...e_Atlases.html |
![]() |
![]() |
![]() |
#326 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#327 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 2848
Join Date: Feb 2013
Location: Lithuania
Device: Kobo Glo
|
![]()
I am having problem dealing with superscript (footnote references) in files.
Here is the original pdf, that has reference 60 in the second paragraph: https://dl.dropbox.com/u/4047484/superscript-input.pdf And here is the output file with pretty much default options used: https://dl.dropbox.com/u/4047484/superscript-output.pdf As you can see, the superscript causes two lines not to be treated as separate lines of text... Is there a way to deal with this problem? |
![]() |
![]() |
![]() |
#328 | |
Fuzzball, the purple cat
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,299
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
k2pdfopt -gtr 0.03 superscript-input.pdf This makes k2pdfopt more aggressive about breaking apart lines of text, but potentially at the expense of inadvertently breaking apart figures. For more on options, see my help page with the command-line options. |
|
![]() |
![]() |
![]() |
#329 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 2848
Join Date: Feb 2013
Location: Lithuania
Device: Kobo Glo
|
Quote:
I guess, there is no easy way to make the program treat different pages using different settings, unless I want to do conversion page by page, joining the document afterwards? |
|
![]() |
![]() |
![]() |
#330 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30
Karma: 2848
Join Date: Feb 2013
Location: Lithuania
Device: Kobo Glo
|
What could optimization settings for Kobo Glo look like?
it has screen of 122mm x 90,3mm, screen size in pixels is 1024x768. I tried kindle paperwhite settings (-dev kpw) but those do not procude an image that could be used without further fitting (I use vertical fitting, and then I can see the whole page and turn it without scrolling). Besides, Kobo Glo has the page count bar at the bottom which is 9,3 mm high. Would it be possible to add Kobo Glo as a -dev preset? |
![]() |
![]() |
![]() |
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 |