How Watermark PDF works
PDF Watermark stamps a text or image watermark onto every page of your document. You control the opacity, position and rotation so the stamp fits the visual style you need, from a faint diagonal "DRAFT" across each page to a centred logo at full opacity. pdf-lib draws the watermark layer directly onto the page content inside your browser, and the PDF never leaves your computer.
Text watermarks are rendered using the font and size you specify, then placed at the coordinates and rotation you choose. Image watermarks accept a PNG or JPG, which is embedded into each page at the opacity and position you set. Because the stamp is written into the page content stream rather than stored as a separate annotation layer, it cannot be toggled off by a PDF viewer and will remain visible in any compliant reader. This is the intended behaviour for marking confidential or draft documents.