Re: Add and remove a watermark

2025-01-10 Thread Tilman Hausherr
On 10.01.2025 14:41, Stefano Berretta wrote: Hello everybody I'm new to PDFBox. I was requested to apply a text watermark on PDFs and I found some examples, they're pretty easy to understand. Please share (upload to a sharehoster) a PDF where the watermark was added. Tilman

Re: Add and remove a watermark

2025-01-10 Thread Kevin Day
There are probably many ways to do this, but the one that comes to mind is to use marked content when you create your watermark. And here's a strategy for removing marked content (I haven't reviewed the code in detail, just found it from a quick SO search): https://stackoverflow.com/questions/495

Re: Add and remove a watermark

2025-01-10 Thread Stefano Berretta
Hi Kevin Yes I'm asking about removing a watermark added using PDFBox. Removing arbitrary watermark is out of the scope of the project. Thank -Stefano Il 10/01/2025 16:00, Kevin Day ha scritto: Are you asking about removing a watermark that you added using PDFBox?  Or are you asking about re

Re: Add and remove a watermark

2025-01-10 Thread Kevin Day
Are you asking about removing a watermark that you added using PDFBox? Or are you asking about removing an arbitrary watermark (that someone else added)? On Fri, Jan 10, 2025, 6:41 AM Stefano Berretta wrote: > Hello everybody > > I'm new to PDFBox. I was requested to apply a text watermark on P

Add and remove a watermark

2025-01-10 Thread Stefano Berretta
Hello everybody I'm new to PDFBox. I was requested to apply a text watermark on PDFs and I found some examples, they're pretty easy to understand. But I'm asked also to remove a watermark. I'll give some details. They want that documents are marked as "not ready" until someone approve them. Wh