We've all downloaded a PDF from somewhere that some idiot (or Google) put a watermark on, to mark their territory somehow. Here's how you might want to proceed.
You might have to install a few tools, mainly pdftk, qpdf and mupdf-tools.
Assume that commands are chained, so input.pdf of any command is the
output.pdf of the previous one (if applicable).