qpdf
qpdf copied to clipboard
Feature Request: Integration of Pages from Multiple PDFs
I have a relatively common use case where I need to modify .pdf files by combining parts of multiple .pdf files. For example, I may want pages 1-2 from input1.pdf, then page 3 from input2.pdf then page 3 from input1.pdf. According to section 7.8 of the qpdf manual (http://qpdf.sourceforge.net/files/qpdf-manual.pdf), there is a function in qpdf to do this.
I think that this would be a modification of the pdf_combine()
function to take a pages
argument that would be a list of vectors.
The result is possible with a combination of pdf_split()
and pdf_combine()
, but the result is a less efficient .pdf output file because of pdf object duplication (and it makes intermediate files than would be unnecessary).