I am trying to add a watermark to a PDF specifically with PDFBox. I\'ve been able to get the image to appear on each page, but it loses the background transparency because i
There is another Overlay class within util package, that saves you from creating a pdf with same number of pages as the source document and then doing the overlay.
To understand its usage, take a look at pdfbox source code, specifically the OverlayPDF class.