07-06-2013, 08:35 AM | #481 | |
Fuzzball, the purple cat
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
-hy is on by default. But the -mode fw option turns on -ls, so -ls- after it is okay. If nothing else, I believe you can get the djvu page count be running a brief k2pdfopt conversion (-p 1 -rt 0 -a-), redirecting the output to a file, and then parsing it for the page count. |
|
07-06-2013, 10:12 AM | #482 | |
Enthusiast
Posts: 29
Karma: 81500
Join Date: Apr 2013
Device: Kindle 4
|
Quote:
Would be a lot nicer if I could read the DIRM chuck, but I can't really find the information where it is supposed to be in the file. I don't know why but..whatever, main thing is that it works. |
|
07-06-2013, 11:25 AM | #483 | |
Junior Member
Posts: 8
Karma: 8900
Join Date: Jan 2013
Device: kindle 4 nt
|
Quote:
http://djvu.org/resources/ First link under the White Papers & Tech Docs section, is the djvu 3 specification. Section 8.3.2 describes the DIRM directory chunk HTH |
|
07-07-2013, 01:46 PM | #484 |
Fuzzball, the purple cat
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
The -pi option actually is parsed by k2pdfopt, but it doesn't do anything. It was intended to tell k2pdfopt to "preserve indentation." I believe I put it in as an upgrade to v1.35, but then changed text wrapping so that indentation was automatically preserved in v1.40, hence this option was no longer necessary, yet I still left in the code to parse the command line for it and store the option into the settings, which are never used subsequently. I may remove that code (which parses the command line for it) in the next release.
|
07-08-2013, 04:05 AM | #485 |
Enthusiast
Posts: 29
Karma: 81500
Join Date: Apr 2013
Device: Kindle 4
|
Ah I see. It still baffles me how you thought of all the functions. I mean, it was a lot of work just implementing them all in my GUI, which was practically the same for every function, but compared to actually thinking of and implementing these it's nothing. One can't stress enough how great your work (and the work of all the non-profit freeware developers out there) is.
Btw: I released the new version on my website. Unfortunatly it's not possible to update with the auto-updater in my program because of a bug in the updater (and I didn't implement a way to update the updater first..). But you can just download the new version at my website. It has the multi-core feature in it. There is sometimes a little problem with djvu files because the number of pages is not read correctly (don't know why) but this is a rare case. The conversion still works anyways just the load on the different processes is not distributed evenly in these cases. http://www.students.uni-marburg.de/~...pdfoptgui.html - Jens |
07-16-2013, 07:13 AM | #486 |
Enthusiast
Posts: 29
Karma: 81500
Join Date: Apr 2013
Device: Kindle 4
|
By the way Willus,
what I always forgot to ask... Why "k2pdfopt"? How did you chose this name for the converter? :-) |
07-16-2013, 08:08 AM | #487 | |
Banned
Posts: 488
Karma: 1080260
Join Date: Sep 2012
Device: sony prs t1 kindle dx ipad
|
Quote:
http://en.wikipedia.org/wiki/K2 pdf is pdf and "opt" is simply "top" reflowed(wrapped), so top pdf reflowing application second to Mount Everest only I'll never buy that prosaic K2 (Kindle 2) pdf optimization thing, not even Kindle-to-pdf-optimization Last edited by markom; 07-16-2013 at 08:35 AM. |
|
07-16-2013, 08:53 AM | #488 | |
Fuzzball, the purple cat
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
K2pdfopt (Kindle 2 PDF Optimizer) is a stand-alone program... BTW, the next release, which will have its own GUI (Windows only, and not nearly as complete as Jens', but enough to set the most commonly used options, and with a preview window) is probably ~2 months away. The GUI is nearing completion but still has some frustrating bugs (curse you, Win32 API). Then I have to chase out the various reported bugs from v1.65 and do regression testing, which can take a while. Command-line fans fear not--you'll still be able to use k2pdfopt exactly like always, and it will still work with Jens' GUI. |
|
07-21-2013, 01:02 PM | #489 |
Junior Member
Posts: 2
Karma: 6000
Join Date: Jul 2013
Device: kindle
|
Hi, I am a new user to k2pdfopt thus I have a few problems. Firstly, my technical background:
I have kindle wifi '6 and Mac computer. I installed the programm, haven't had any problems with that, however whenever I launch a new pdf book to convert in k2pdfopt it always converts in a size 17.8 x 27.5 in which is waay to big to read in kindle e-reader, because I'm always left with a one big sentence per page. I would appreciate if you would help me. What to do? |
07-21-2013, 03:03 PM | #490 | |
Fuzzball, the purple cat
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
k2pdfopt -ds 0.5 myfile.pdf The -ds stands for Document Scale and will scale the source document to half its original size (when you use 0.5 for the value). |
|
07-22-2013, 05:14 PM | #491 |
Junior Member
Posts: 2
Karma: 6000
Join Date: Jul 2013
Device: kindle
|
thanks, it worked;]
|
07-23-2013, 08:09 PM | #492 |
Fuzzball, the purple cat
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
k2pdfopt v1.66 released
K2pdfopt v1.66 is released. This is a bug fix / maintenance release that fixes the most commonly reported issues from v1.65. See the web site for details.
|
07-30-2013, 10:05 AM | #493 |
Member
Posts: 17
Karma: 12832
Join Date: Jun 2013
Device: MPB, iOS, Kindle PW
|
Hi Willus,
I'm trying to justify left the ocr'd text. Here's my code: "-h 5.75in -w 4in -ocr -p 15-16" I've been using various combinations of "-j -", "-j 0", "-wrap-" Just keeps making the text fit to the width of the page with awkward spaces in between words :/ Any solution? Thanks! Last edited by Lili819; 07-30-2013 at 10:30 AM. |
07-30-2013, 08:34 PM | #494 | |
Fuzzball, the purple cat
Posts: 1,272
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
i.e. -h 5.75in -w 4in -ocr -p 15-16 -j 0- The zero does left justify and the - turns off full justification. If that doesn't work, please post an example of your source file. |
|
08-01-2013, 08:40 AM | #495 |
Member
Posts: 17
Karma: 12832
Join Date: Jun 2013
Device: MPB, iOS, Kindle PW
|
|
Tags |
ebook apps, k5 tools, kindle tools, kindle touch, tools |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
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 |