01-27-2023, 10:14 PM | #1996 |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Try unclicking "Re-flow text". That will at least crop out the excess margins on the left and right. It will not put words closer together. k2pdfopt does not have an option to do that.
|
01-28-2023, 04:00 AM | #1997 |
Connoisseur
Posts: 57
Karma: 50592
Join Date: Jan 2023
Device: Amazon Kindle basic
|
Thank you.So,also no conversion to other format than pdf can do this? (gaps between words) Btw,if you compare carefully,i think that the gaps between words are smaller on prototype pdf than the converted.
|
Advert | |
|
01-29-2023, 07:20 AM | #1998 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I was baffled for a while by the Linux command line version and the menu, but eventually realised from Help (h) that I needed to do a final "enter" alone to execute, rather than q to quit, after picking options!
|
01-29-2023, 07:22 AM | #1999 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Is there a recommended command line setting for coloured scan PDFs from archive.org books that are often too dark and slow on eink?
|
02-02-2023, 10:51 PM | #2000 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
As for converting archive.org books, do you have a particular example in mind that you could post the link to? Archive.org typically displays slowly on e-inks because of the compression used (JPX/JPEG 2000). K2pdfopt can certainly be used to convert to "flate" compession (z-lib), which displays faster, but will result in a larger file size. Last edited by willus; 02-02-2023 at 10:54 PM. |
|
Advert | |
|
02-04-2023, 08:12 PM | #2001 |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
I recommended this for Quoth's archive.org download (with substantially yellowed pages):
k2pdfopt -mode copy -dpi 400 -c- -g 1 -bpc 4 -cmax -5 sourcefile.pdf -dpi 400 for 400 dpi. The source file has a dpi of 600. -c- to turn off color (make it grayscale) -g 1 to turn off gamma correction (default of -g 0.5 makes things darker) -bpc 4 to get 4-bit grey scale (the default) -cmax -5 to force the contrast level to 5 to get the page background mostly white. |
02-07-2023, 07:39 PM | #2002 |
Junior Member
Posts: 5
Karma: 51986
Join Date: Jan 2023
Location: Melbourne, Australia
Device: AuraOne & Elipsa
|
Hey Willus, thanks for the tool and all the support you provide here.
I’ve noodled through this thread and haven’t spotted a general guide and am hoping you are aware of one posted somewhere. I’m working with a plethora of various types of PDFs, hence general guide needed. I had a play and was unable to get things to adjust as expected from some pretty tidy academic journal PDFs (most puzzlingly margins didn’t seem to adjust when I thought I was inputing adjusted margin allowances). I’m not particularly comfortable in Terminal so started with what I could get from making Elipsa screen size settings in the Python GUI. Can you direct me to something that might give me a bit of a better approach? Thanks for your time. Oscar |
02-08-2023, 06:05 AM | #2003 |
the rook, bossing Never.
Posts: 11,161
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
The terminal / text mode that has a menu to build option string works far better than the python GUI on Linux. The options do what they say, even though initially I was a bit confused.
Willus is very helpful. Play with the command line/console version. The Python version is slow and seems to behave unexpectedly. The python GUI is only generating the command line anyway and the preview in it is too slow. |
02-08-2023, 07:52 PM | #2004 | |
Junior Member
Posts: 5
Karma: 51986
Join Date: Jan 2023
Location: Melbourne, Australia
Device: AuraOne & Elipsa
|
Quote:
Aware of the help menu but found adjusting the margins as per help resulted in the same margins I’d started with. I general guide’d be good. If there isn’t one it might be an idea to write one. I’d volunteer but have at thesis to write this year, might be time enough after that. |
|
02-08-2023, 10:21 PM | #2005 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
I think the main decision to start with is if you want to re-flow the text. If you want to re-flow the text, it sort of sends you down one set of options, whereas if you don't, and you just want to crop out various areas or trim margins, that sends you down another set of options. Honestly I think the best thing you can do is post a few basic examples of the kinds of documents you want to convert for small screen reading and I can give you advice if you like. You can PM me docs as well. The video on my web page, though dated, does walk through three types of conversions. It focuses on the MS Windows GUI, but if you keep your eye on the "command-line version of options" box, you can see how the GUI selections translate into command-line options you can use in Linux. |
|
02-12-2023, 02:47 PM | #2006 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
02-19-2023, 04:35 AM | #2007 |
Enthusiast
Posts: 43
Karma: 392326
Join Date: Feb 2023
Device: Kobo Libra 2
|
I've been trying to use k2pdfopt to convert a multi-column pdf to single-column format so that I can then pass it on to calibre's conversion tool to convert it to epub with bold and italics (pdftotext which otherwise is ok with multicolumn pdf's loses italics and bolding), which seems to be working fine. But there's one issue I've discovered - setting the margins in the menu doesn't work: if I choose the "m" option and input a comma-separated list, it seems to ignore it, and only gives "-m 0,0,0,0" regardless of what you type in, and if I type in a single number, it sets "-m 1,0,0,0". I can circumvent it by setting up the margins on the command line, though, so it's just the UI.
This is on the Linux 64-bit 2.54 version. |
02-19-2023, 04:46 AM | #2008 | |
Enthusiast
Posts: 43
Karma: 392326
Join Date: Feb 2023
Device: Kobo Libra 2
|
Quote:
|
|
02-19-2023, 08:49 AM | #2009 | |
Fuzzball, the purple cat
Posts: 1,273
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
02-21-2023, 02:49 AM | #2010 | ||
Junior Member
Posts: 5
Karma: 51986
Join Date: Jan 2023
Location: Melbourne, Australia
Device: AuraOne & Elipsa
|
Quote:
Quote:
Oscar Sent from my iPhone using Tapatalk |
||
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 |