I need to remove some stupid email watermark that expands across all pages of a public domain book. I looked at pdftk man page and some examples but still can not figure out how to remove the watermarks. I appreciate your hints.
migrated from stackoverflow.com Jul 13 '12 at 14:53
This question came from our site for professional and enthusiast programmers.
very simply task to perform:
but, after, be sure to repair resulting output pdf
all into one command:
text watermarks are nothing else than a text between two tags inside the pdf compressed code
Just a little add-on to Dingo's answer as it did not work for me:
I had to first uncompress the PDF document in order to be able to find the watermark and replace it with
I then repaired and recompressed the document: