Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can we change the page numbers of a pdf document after modifying it with jPDFProcess?

0
Posted

Can we change the page numbers of a pdf document after modifying it with jPDFProcess?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123