pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: extract pages from pdf file?



On Wed, 8 Jan 2025, Leonardo Taccari wrote:

...
So, is there another pdf utility that I can use to recombine a few
pages from the original document?
...

Possibly worth to try is `mutool` provided by print/mupdf, e.g.:

$ mutool merge -o output.pdf input1.pdf 1-3 input2.pdf 4-6

Will merge in output.pdf (PDF that will be created), from page 1-3 of
input1.pdf and from page 4-6 of input2.pdf.

Works great - thanks!


+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


Home | Main Index | Thread Index | Old Index