View Single Post
Old 11-09-2012, 07:46 AM   #223
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by ace23 View Post
hello,
this is a great software, but i'm needing a bit of help.
I am trying to convert a pdf magazine, but i want the first page and the table of contents (pages 1-16) will remain in their original size, and to convert all pages from page 16. can anyone please help and tell me how can i do that.
thank's a lot, and again this is great software.
Unfortunately, right now k2pdfopt cannot apply different settings to different pages in the file in one command. So you'd have to convert the first 16 pages with one command and the rest with another command using different options and then perhaps join them with a tool like jpdftweak:

k2pdfopt -p 1-16 -mode fw -f2p -2 magazine.pdf -o out1.pdf
(This will fit the whole page and trim the margins.)

k2pdfopt -p 17- magazine.pdf -o out2.pdf
(This will do the default conversion with text wrapping.)

jpdftweak -i out1.pdf -i out2.pdf -o final_output.pdf
(This will join the two converted files.)
willus is offline   Reply With Quote