dsh-watermark-remover

Structure-level watermark removal for PDF and Word: finds full-page Form XObject overlays drawn on every page and text blocks matching a watermark vocabulary, lists them by confidence, then excises only the drawing operators or runs — the text layer, embedded images and their resolution are not re-rendered or altered.

Writing & OfficeBSD-3-Clause☆ 1

Overview

Structure-level watermark removal for PDF and Word: finds full-page Form XObject overlays drawn on every page and text blocks matching a watermark vocabulary, lists them by confidence, then excises only the drawing operators or runs — the text layer, embedded images and their resolution are not re-rendered or altered.

Installation

Install from GitHub

dsh plugin --profile web add github:dragonsummer1/dsh-watermark-remover

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.