03-01-2021, 10:47 PM | #1861 |
Junior Member
Posts: 4
Karma: 49658
Join Date: Feb 2021
Device: none
|
Sure, I'd be happy to send over what I'm trying to convert. Is it possible for me to PM the document to you? I didn't see an option to PM you on your profile page (perhaps my account is too new).
|
03-02-2021, 12:21 PM | #1862 |
Junior Member
Posts: 4
Karma: 49658
Join Date: Feb 2021
Device: none
|
Can't edit my post, so replying here. I found a picture that is exactly what I'm seeing. Ignore the red text, the "border" is what I'm seeing on the output PDF.
|
Advert | |
|
03-02-2021, 02:15 PM | #1863 | |
Member
Posts: 10
Karma: 49658
Join Date: Jun 2020
Device: KT4
|
Quote:
Spoiler:
Turns out that for the -wt option, I was simply using it incorrectly, I was typing "-wt[+]" into the additional options field, instead of "-wt+", so of course the result wasn't what I wanted, after using "-wt+ <threshold>" I could get a good, readable output for my book. As for my other problems, they aren't related to any specific source pdf files, just questions about the program's usage, for the split text problem -f2p -1 works perfectly, I simply didn't know what the faq meant by "select "bp" from the interactive menu", but as I believe this "bp" option would simply do the same as -f2p -1 I continued using the latter. And for the crop area feature, the problem is that, although the program can convert multiple pdf files in sequence, you can't have a different crop area setting for each file, so you can't do multiple conversions on pdfs that need cropping in the same instance, and I suppose you wouldn't be able to set additional options for each file either, this isn't a major problem however, as you can simply open multiple instances of the program to convert the files in parallel, I simply wanted to know whether or not there was a way to have a crop setting for each individual file or not, but I don't think I expressed that well in my first reply. But I think that even if you added a feature like that I would end up not using it, as I've read about your program, I came to understand that it is faster to have multiple instances open for multiple file, than it is to convert multiple files on a single instance. Again, thanks for making this amazing program. |
|
03-02-2021, 10:19 PM | #1864 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
Last edited by willus; 03-03-2021 at 10:35 PM. |
|
03-02-2021, 10:21 PM | #1865 |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Does your source file have that same black border, then? If so, you can probably do something like -m 0.25 to get rid of it. That will ignore any marks that are within 0.25 inches of the edge of your document.
|
Advert | |
|
03-02-2021, 10:33 PM | #1866 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
Looks like you figured out an efficient way to run k2pdfopt. The best way to do what you want (remember different options for different input files), if you know how to use scripts or batch files, is to create a script / batch file that contains the different k2pdfopt commands for each different file you want to convert. Then they are all saved in the script file and you can run it again if you need to. That is often how I run k2pdfopt, particularly when I want to try various command options but remember what I've tried before. |
|
03-03-2021, 12:57 PM | #1867 | |
Member
Posts: 10
Karma: 49658
Join Date: Jun 2020
Device: KT4
|
Quote:
|
|
03-03-2021, 02:33 PM | #1868 |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
|
03-09-2021, 11:24 PM | #1869 |
Junior Member
Posts: 1
Karma: 10
Join Date: Mar 2021
Device: Kindle Gen8
|
Output with -n has weird selection
Output with -n -vb -2 and just -n has weird selection, where there are a lot of "hidden" lines and the whole page gets selected. This isn't that big an issue, but I want to convert it .mobi using calibre's ebook-convert which messes up the output on the converted pdf.
If I use the bitmap output, while the k2pdfopt output is absolutely fine, the mobi version of it is an image of each page, which loses the text selection and resizing and all the flexibility of -n |
03-11-2021, 10:19 PM | #1870 |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
I haven't tried using calibre's mobi conversion utility much, so I'm not familiar with what k2pdfopt settings work best with it. Try adding -ppgs to the k2pdfopt command and see if that doesn't improve the situation. Even turning -n off should still result in a PDF with a selectable text layer, though.
Have you tried loading the PDF into MS Word directly? If you have access to MS Word, that may be a better way to go to convert PDF to mobi. See my web page on the topic. |
04-18-2021, 11:27 PM | #1871 |
Guru
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
Does anyone know how to find a list of devices?
The manual and this thread says to use k2pdfopt -dev ? but that just yields "Device profile '?' not known." |
04-19-2021, 03:25 AM | #1872 |
Connoisseur
Posts: 63
Karma: 302424
Join Date: Aug 2019
Location: Serbia, former Yugoslavia
Device: Pocketbook InkPad 3
|
You can see list of all pre-programmed devices using the command line version of K2pdfopt. I think letter "d" is for device selection, where you can see this list.
1. Kindle 1-5 (k2) 2. Kindle DX (dx) 3. Kindle Paperwhite (kpw) 4. Kindle Paperwhite 2 (kp2) 5. Kindle Paperwhite 3 (kp3) 6. Kindle Voyage/PW3+/Oasis (kv) 7. Kindle Oasis 2 (ko2) 8. Pocketbook Basic 2 (pb2) 9. Nook Simple Touch (nookst) 10. Kobo Touch (kbt) 11. Kobo Glo (kbg) 12. Kobo Glo HD (kghd) 13. Kobo Glo HD Full Screen (kghdfs) 14. Kobo Mini (kbm) 15. Kobo Aura (kba) 16. Kobo Aura HD (kbhd) 17. Kobo H2O (kbh2o) 18. Kobo H2O Full Screen (kbh2ofs) 19. Kobo Aura One (kao) 20. Kobo Clara HD (koc) 21. Kobo Forma (kof) 22. Kobo Libra H2O (kol) 23. Nexus 7 (nex7) 24. Other (specify width, height, etc.) Hope this helps |
04-19-2021, 03:30 AM | #1873 |
Connoisseur
Posts: 63
Karma: 302424
Join Date: Aug 2019
Location: Serbia, former Yugoslavia
Device: Pocketbook InkPad 3
|
Does anybody know how to prevent K2pdfopt from skipping white (empty) pages (in scanned or native pdfs)?
I use -mode copy -cmax 1.0 -g 1.0 -c- -neg- -s- to make bitmaped pages, but every white, empty page in source pdf file gets skipped by k2pdfopt. Page can be scanned, with small scanning imperfections and gray tint, but whole page gets skipped by K2pdfopt. Destination pdf is all ok, but, without these pages. I would like to keep them also. Thank in advance Last edited by VladimirS; 04-20-2021 at 06:37 AM. Reason: typing errors |
04-20-2021, 09:57 PM | #1874 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
07-03-2021, 05:55 AM | #1875 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2021
Device: android
|
Broken Links
Hi willus. I recently got to know your app through Tex2002ans and I was amazed.
But from the tests I did in a original_pdf with hyperlinks, I noticed that even when doing a simple trim operation, without reflow / reshape or anything fancy, the pdf hyperlinks were all disabled. Is this a known limitation of the app or was there some malpractice in my configuration? |
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 |