01-20-2014, 09:45 AM | #706 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
-bp m |
|
01-21-2014, 04:06 PM | #707 |
Junior Member
Posts: 5
Karma: 12564
Join Date: Jan 2014
Device: Kobo Aura
|
I appreciate the welcome, and thanks for the advice!
@willus, thanks! And I sent you a pm. @markom, thanks! I'll check out the programs. Thought that fiddling with the margin controls in k2 might be enough, so I wouldn't have to edit the files beforehand. But yeah, I have seen worse scans, and it would certainly be useful to have a program with which I can easily edit .pdf files. @Sajjad76, I noticed that too when I tried converting a .pdf processed via k2 (set "native PDF" via the check-box), then converting with Calibre to .epub. Completely messed up the text. Settled for just reading the .pdf set-up just right for my e-book reader with k2. I realize that the situation is different from that which you described, but I thought that there might be a connection. Regards, nick |
Advert | |
|
01-21-2014, 09:41 PM | #708 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
01-22-2014, 01:19 AM | #709 |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
@nickq -- try these settings with the document you PM'd to me:
k2pdfopt -ml 0.32 -mb 0.6 -mt 0.6 -mode 2col -col 4 -bp m -gtc .02 -crgh .1 -sm The first three options set the crop margins (these can actually be set by page using the new -cbox option, but you don't need that for your specific file--you can also use Briss for this, as markom pointed out). The -bp m option will start a new output page whenever a new region is put on an output page. This improves text highlighting. The last two parameters (besides -sm) do most of the magic of getting k2pdfopt to correctly split the three columns. The -gtc .02 gets it to be more tolerant of the non-clean scan, which created some smudges between the columns that were causing problems. The -crgh 0.1 keeps it from breaking up the column continuity. The -sm option generates the marked up file so you can see how k2pdfopt is parsing the source file. You can leave that off for the final conversion. If using the GUI, you can put the -bp m -gtc .02 -crgh .1 in the "Additional options" box since you can't set them anywhere else in the GUI. |
01-22-2014, 11:04 AM | #710 | |
Junior Member
Posts: 5
Karma: 12564
Join Date: Jan 2014
Device: Kobo Aura
|
Wow. Those settings worked great. Thanks!
Is there any particular reason it was in 2-column mode rather than default mode though? I have to admit that I don't completely understand the reasoning behind all of the settings specified the way they were, but it works, so they're saved under "High Tolerance," and I'll look them over again once I have more time. Quote:
|
|
Advert | |
|
01-22-2014, 10:10 PM | #711 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
I'm sure this depends on the specific type of source document. Are you referring to the one that you sent to me? For that one, I'd try the settings I recommended above, except remove the "-mode 2col". That will put out a bitmap with an invisible text layer (the text being copied from the source file's OCR layer) for each k2pdfopt output page, and only that text will be on the output page (no cropping directive used on the source file), so it should convert better in calibre--no repeated words or paragraphs, though I don't use calibre much, so I can't say for sure. |
|
01-23-2014, 08:49 AM | #712 | |
Junior Member
Posts: 5
Karma: 12564
Join Date: Jan 2014
Device: Kobo Aura
|
Quote:
|
|
01-23-2014, 09:11 AM | #713 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
01-24-2014, 01:31 AM | #714 |
Banned
Posts: 18
Karma: 12000
Join Date: Oct 2013
Device: Kindle Paperwhite 1th generation
|
Thanks.I used default mode.I think the problem comes from that.
But there is still a blank space after each page that covers the text and it is unreadable(just in duokan). in amazon operating system it is just ok. Last edited by Sajjad76; 01-24-2014 at 01:42 AM. |
01-24-2014, 09:44 AM | #715 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
Last edited by willus; 01-24-2014 at 09:47 AM. |
|
01-25-2014, 05:38 PM | #716 |
Junior Member
Posts: 4
Karma: 12500
Join Date: Jan 2014
Device: Kindle Paperwhite 2
|
Hello everybody, i'm just register but i read lots of pages.Frst of all thank you @willus for this program.But i have some problem while converting to pdf files.I try to 2 coulmns pages but inside some math formulas and character.That is ok no problem but i see vertical line on pages.But it just shown just left sides. that means i don't see right side becosue of i cant find hof to fix midle of the pages.i'm useing defutl mode. itry the change margins right-left-up-or bottom but icant fix it.i will send pm if it possibe.Could you give me options aboute that.sory me english not so good and i cant explane deeply my problem.i hope i can explane.Thnky you so much.Have nice weekand
|
01-25-2014, 09:31 PM | #717 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
-cbox 0,0,.49s,1s -cbox .51s,0 -bp m Also, select "fitwidth" from the "Conversion mode" menu and uncheck "rotate output to landscape". This sets up two one-column-wide crop boxes on each page so that each column is processed separately and then processes each one in "fitwidth" mode. The "-bp m" will start a new output page after processing each column. As an alternate conversion technique, you can then uncheck "native mode" and then add -vb -1 to the "Additional options" box. That will remove some of the large gaps in the columns, but it will also prevent the output from being in native mode, so it will be bitmapped. Last edited by willus; 01-26-2014 at 12:22 AM. Reason: Clarification |
|
01-26-2014, 05:50 AM | #718 |
Junior Member
Posts: 4
Karma: 12500
Join Date: Jan 2014
Device: Kindle Paperwhite 2
|
@willus Thank you for fast answer.I just did what you say and everything is looks fine. Right and left is perfect. But i realize one thing. Up and bottom freespace is to much on my documents. I know pages has too many empty area between the question (excamples) , i accept them but i don't want to see bottom and up empty area.How can arrange them.I try something before your answer "-dev kpw -evl 1 -wrap- -mb 1.4 -mt 1.4 -ml 0.2 -mr 0.2" and it was look good but i couldn't fix sides.When i read your answer i try your code with bottom 1.30 up 1.30 or difrent number but i cant fix it.What should i decide bottom and up empty area.Witch method is good for them. Thank you so much
|
01-26-2014, 11:36 AM | #719 | |
Fuzzball, the purple cat
Posts: 1,283
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
-dev kpw -cbox 0,1.4in,.49s,8.2in -cbox .51s,1.4in,.49s,8.2in -mode fitwidth -ls- -n- -vb -1 To see more about the -cbox option, see my command-line options help page. Last edited by willus; 01-26-2014 at 05:07 PM. Reason: Updated web page link |
|
01-26-2014, 12:05 PM | #720 |
Junior Member
Posts: 4
Karma: 12500
Join Date: Jan 2014
Device: Kindle Paperwhite 2
|
Thank you so much. i will look and try to learn more.
Take it easy.Have nice work. Edit:That program realy good. it detect space area and fix it. Thank yo again. Last edited by iceburn; 01-26-2014 at 12:18 PM. |
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 09:27 AM |
Viewing Textbook PDFs... | NJReader | enTourage Archive | 4 | 08-17-2010 06:17 PM |
PRS-600 Restart bug while viewing PDFs? | conundrum | Sony Reader | 2 | 03-04-2010 09:46 PM |
More on viewing pdfs | dso371 | Bookeen | 8 | 03-11-2008 08:15 PM |
Viewing Untagged PDFs on Palm T|X | Eroica | Reading and Management | 3 | 12-10-2007 02:44 PM |