Quote:
Originally Posted by Shohreh
Thanks for the offer: https://we.tl/t-KA9InMaCCd
It looks much better. I just need to leave a bit more on the right, before merging the pages back into a single PDF.
k2pdfopt input.pdf -m 0.8 -mode fw -ls- -o output.pdf -p 30-40,70-75
--
Edit: While we're at it: Can k2pdfopt crop such and such page, and then turn them into pictures in place, without having to do this myself?
ie.
1. Use k2 to crop margins and rescale text
2. Export those pages
3. Convert to PNG
4. Convert to PDF
5. Merge all pages into hybrid PDF (text + pics)
Or maybe k2 can massage the PDF in such as way that there's simply no need to turn problematic pages into pictures (eg. tables, insets, etc.)?
|
I'm not really sure what you're asking above. I think the point of using k2pdfopt is to avoid exactly those steps. k2pdfopt internally converts every page to a bitmap for a graphical analysis. It can then save a bitmap to the output file or use its internal bitmap to figure out how to insert cropping instructions into the native PDF file (which is what -mode fw does).
Also, I don't think you need to use the -m option since your PDF is very clean (not scanned). k2pdfopt will automatically trim away the margins in the fit-width mode (-fw). What is wrong with the output from this:
k2pdfopt -mode fw -ls- twilight.pdf
Which converted pages don't you like?