Can we change the page numbers of a pdf document after modifying it with jPDFProcess?
jPDFProcess is not able to modify existing text in a document, but if you know the position of the text, you can draw/fill a rectangle over it in the background color and then add your own page number. I’m looking for a tool with Java APIs to merge one or more PDFs on the server side. The API should support input PDFs as byte[] and returned the merged PDF as byte[] as well. Our jPDFProcess library can do what you are looking for. Currently, the API does not work with byte [], but with InputStream and OutputStream. The library can read PDF documents from an InputStream and it can write the merged PDF document to an OutputStream. Using a ByteArrayInputStream and a ByteArrayOutputStream, you can use data in a byte [] to give to the library and get the byte [] out of the ByteArrayOutput stream when getting the output.