02-03-2019, 01:37 PM | #1681 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
02-03-2019, 01:40 PM | #1682 |
Banned
Posts: 8
Karma: 10
Join Date: Feb 2019
Location: GB
Device: miflalmXD
|
and this is the sourse file sir
|
02-03-2019, 01:52 PM | #1683 |
Banned
Posts: 8
Karma: 10
Join Date: Feb 2019
Location: GB
Device: miflalmXD
|
could you find the best setting even if i use text reflow to make it in good shape on kindel the space between lines is not the same and it look bad
this is an image of it |
02-03-2019, 02:54 PM | #1684 |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
The default options work pretty well for me (along with -r to go right to left). You can increase the size by setting dpi to 400 instead of 300, for example, e.g.
k2pdfopt -r -odpi 400 -vls 1.5 mydoc.pdf Your margin cropping is a bit aggressive (it will cut off some of the text on some of the pages) and not really necessary--nor are the -ac or -de options since your scan is very clean. The font varies in size because some of it is from the footnotes, which are typeset in smaller font. The -vls 1.5 should keep the line spacing more uniform at 1.5x single space. Last edited by willus; 02-03-2019 at 03:00 PM. Reason: Add comment on line spacing |
02-03-2019, 03:10 PM | #1685 |
Banned
Posts: 8
Karma: 10
Join Date: Feb 2019
Location: GB
Device: miflalmXD
|
thanx sir but how can i get red of abnormal space like in the picture
|
02-03-2019, 03:14 PM | #1686 |
Banned
Posts: 8
Karma: 10
Join Date: Feb 2019
Location: GB
Device: miflalmXD
|
|
02-03-2019, 04:11 PM | #1687 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
To prevent the large spacing between words you can either turn off full justification like so: -j 2- ... or you can adjust the word-breaking parameter, e.g. try: -ws 0.05 K2pdfopt tries to mirror the justification of the source document, which is why full justification is turned on by default for your case. |
|
02-04-2019, 04:00 PM | #1688 | |
Member
Posts: 16
Karma: 80134
Join Date: Sep 2018
Device: none
|
Quote:
-dev kp3 -j 0+ -col 1 -mag 1.2 -dr 2 -vls 1.6 -x ; it's what I was searching for ! However, when files of the same type contain images the output is, unfortunately, not good (please see the two files attached). What do you suggest to correct that ? In advance thank you |
|
02-05-2019, 08:28 AM | #1689 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
02-09-2019, 10:03 PM | #1690 | |
Member
Posts: 16
Karma: 80134
Join Date: Sep 2018
Device: none
|
Quote:
I tested to increase the number of columns to 2 with this : -dev kp3 -j 0+ -col 2 -mag 1.2 -dr 2 -vls 1.4 -jfc- -x Unfortunatly the result is not good... any suggestions are welcome ! Thank you. |
|
03-06-2019, 08:18 AM | #1691 |
Member
Posts: 16
Karma: 80134
Join Date: Sep 2018
Device: none
|
Hello Willius,
I need your help please for these two parts of a scanned book. Here is a the link : https://workupload.com/file/9ynmQv2L For the the two parts here are what I used : -dev kp3 -col 1 -as -c -cmax 1 -s- -dr 2 -mag 1.25 -fc- -vls 1.5 -x My questions are : - How to avoid the not correct spacing between lignes (pages 4 and 5 in 1_k2opt and pages 4,5 and 6 in 2_k2opt)? - How to tell "k2pdfopt" to insert a page break before the begin of each chapter or after un blank page (like in microsoft word) ? My aim is to have the words :" Introduction", "Chapter 3" in the begining of a new page. Great thanks in advance for your time. |
03-08-2019, 09:28 PM | #1692 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
03-08-2019, 10:08 PM | #1693 |
Member
Posts: 16
Karma: 80134
Join Date: Sep 2018
Device: none
|
Hello Willius,
I just tested and it's perfect !! Thank you. I also just need a small clarification about the difference between using : -idpi, -dr , -fs and -mag. Fo me it's just like these options are doing the same but a little bit differently ?! What is the best option ? I already read the Help section for each each one, but it's still not clear in my mind. Thank you |
03-09-2019, 10:37 AM | #1694 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
-idpi is simply the dpi that the source dpi is rendered internally in k2pdfopt. You shouldn't really need to specify this since it defaults to 2x your output resolution, which should always be sufficient. -dr is a quick way to increase the resolution of your converted file without changing the page dimensions. You can also do this with -odpi, but the affect of -odpi depends on whether you have specified the output page size in pixels or in inches/cm. If you've specified the output page size in pixels (which is the default), increasing -odpi will cause the output content to magnify. If you've specified the output page size in inches/cm, increasing -odpi will behave the same as -dr -- it will increase the resolution, but not magnify the content. Using -dr will always increase resolution, either way. -fs is just another way to specify the magnification of the output content relative to the output page size--by using font size rather than dpi if you prefer to do it that way. -mag is yet another way to increase magnification of the output content. Again, you can achieve the same effect using -odpi, but only if you've specified the output page size in pixels. If you use -mag, it will increase the output content magnification either way you specify the output page size (pixels or inches/cm). In general, you should leave -idpi set to its default and only ever specify one of -odpi, -fs, or -mag. This will set the size of our output content relative to the output page size. Then you can optionally adjust -dr if the resolution needs adjusting. Equivalently, you could specify only -odpi and the device page size in inches/cm. For instance, the defaults for the latest version of k2pdfopt are Kindle Paperwhite 3, which is 1016 x 1364 pixels at 300 dpi, and therefore 3.39 x 4.55 inches. These two commands are an equivalent way to double the output resolution from the default, keeping the 3.39 x 4.55-inch page size: k2pdfopt -w 3.39in -h 4.55in -odpi 600 myfile.pdf k2pdfopt -dr 2 myfile.pdf Whereas these two commands are an equivalent way to double the output magnification from the default, effectively making the output page 1.7x2.28 inches, so that when it is viewed on the 3.39x4.55-inch screen it is magnified by 2x in each dimension: k2pdfopt -odpi 600 myfile.pdf k2pdfopt -mag 2 myfile.pdf |
|
03-09-2019, 10:37 PM | #1695 | |
Member
Posts: 16
Karma: 80134
Join Date: Sep 2018
Device: none
|
Quote:
As conversion software, K2pdfopt is very powerful... Thank you for it. |
|
Tags |
ebook apps, k5 tools, kindle tools, kindle touch, tools |
|
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 |