Quote:
Originally Posted by willus
@Japinder--I couldn't get your PDF file. See my PM back to you.
It will help if you show exact options that you used for various cases. If you used -mode tm (or selected "trim" from the Conversion Mode menu in the MS Windows GUI), this uses native output mode, and in native output mode, things like color, contrast, sharpness, and gamma factor cannot be adjusted, because the output file is identical to the source file except that it is cropped and scaled. So if you want to combine grayscale output with the trim mode, you need to 1. select "Trim" from the Conversion Mode menu, 2. be sure color output is unchecked, and 3. uncheck "Native PDF output." Unfortunately, as you have seen, the preview mode incorrectly shows the grayscale output (if you don't have color output checked) even when you have "Native PDF output" checked. This is a bug which I've added to my list to fix.
You may wish to experiment with the option which sets the white threshold: -wt. You can use this to convert your background color to white assuming it is light enough (use -wt+ to do this). For example, -wp+ 128 will convert to white all colors that have an equivalent grayscale pixel shade (0-255) lighter than 128 (you can put this in the "Additional Options" box). Again, this feature only works if native output is turned off.
Finally, if you need higher resolution output (with native output mode turned off), bump up the "Document Resolution Factor" to a value higher than 1.0. E.g. 2.0 will double the output resolution.
|
Quote:
Originally Posted by markom
Could you send me the link too, or just the name and size of pdf if it is available somewhere online ? so that I can try some other pdf tools also.
|
Thanks guys.
Sent the correct link/file to both of you.
I believe I was struggling since I'm still a newbie to k2pdfopt & was indeed trying out these incompatible options. I've been trying the following options:
GUI:
-mode tm -c-
-mode tm -c- -ws 0.2
CMD line:
-gui- -wrap- -c-
-gui- -c- -n
& a lot of others I don't even recall.
The PDF actually contains a lot of colorful tables/diagrams etc, so I'm afraid, by trying to remove the background from the text, I would affect those tables/diagrams as well. So I've just contented myself with trying to do a normal grayscale + trim/crop.
Another thing, when I manually specify the crop margin & play around with the device selection, I've seen a white margin being 'added' by k2pdfopt, even if I input an already cropped PDF through briss. Could you advise what would be the correct device settings for Onyx Boox M96, 825x1200px, 150dpi. And should I try to change from the default of Kindle 1-5, 560x735px, 167dpi.
Thanks,
Jp