

Make a temporary copy of the uncompressed PDFįind and remove an object stream from the temporary copyĬheck if the object stream you just removed was the watermark Yours may well not have such helpful text, but if you are patient: It was easy for me to see which stream object was the watermark code because it kindly included the word "Watermark" :-) The endobj line was followed by the next 0 obj 2 more lines down. I needed to delete this line and everything from it down to and including the first instance of endstream Where was a number at the start of the line identifying the specific object. The lines defining the stream object that I need to remove started with a line containing only: 0 obj The watermark was included in the document as a PDF stream object. Then opening the uncompressed.pdf in my favourite text editor, I found a block of text more than 50 lines long which I could see was obviously the code for the watermark. I first used Philippe's solution to uncompress the PDF. I needed to use a text editor to find and remove it. The watermark I needed to remove was a stream object (which is a multi-line block of code), not a single line, so a single line sed command wasn't going to work for me.

Another add-on to Philippe's add-on to Dingo's answer.
