You can download this demo software right after you add it to your cart and complete the checkout process. The demo software is free, and you will not be asked to enter any credit-card information, but you need to go through the checkout process in order to download the demo software.
This product is a Linux shared library.
XpdfSplice is a very affordable programmer's toolkit that makes it easy to split and/or combine PDF files. XpdfSplice can also perform related tasks such as changing the password for a PDF file, adding watermarks, adding stamps.
XpdfSplice extracts pages from input PDF documents and combines them together into output PDF documents. This process can involve any number of input files and any number of output files - for example, you can:
- split an input PDF file into one output PDF file for each page
- combine several input PDF files into a single large PDF file
- combine just the first page from each PDF file into a single PDF file
- open a password-protected PDF file
- set the password protection for a PDF file
- add watermarks
- and more.
The core functionality is based on a single function: take a specified page from an input PDF file and append it to a new, output PDF file. With that single function, any combination of splitting and merging is possible.
XpdfSplice is easy to use:
pdf = new XpdfSplice.XpdfSplice
in1 = pdf.openInput("input1.pdf")
in2 = pdf.openInput("input2.pdf")
out1 = pdf.openOutput("output1.pdf", 1.7)
out2 = pdf.openOutput("output2.pdf", 1.7)
' copy page 1 from both input documents to the first output document
pdf.addPage in1, 1, out1
pdf.addPage in2, 1, out1
' copy page 2 from both input documents to the second output document
pdf.addPage in1, 2, out2
pdf.addPage in2, 2, out2
pdf.closeInput in1
pdf.closeInput in2
pdf.closeOutput out1
pdf.closeOutput out2