dsh-watermark-remover

面向 PDF 与 Word 的结构级去水印:识别每页都会绘制的整页 Form XObject 图层水印,以及命中水印词表的文字块,按置信度列出候选后仅摘除对应的绘制指令或 run——正文文字层、内嵌图片与其分辨率均不重绘、不改动。

写作与办公BSD-3-Clause☆ 1

插件介绍

面向 PDF 与 Word 的结构级去水印:识别每页都会绘制的整页 Form XObject 图层水印,以及命中水印词表的文字块,按置信度列出候选后仅摘除对应的绘制指令或 run——正文文字层、内嵌图片与其分辨率均不重绘、不改动。

安装方式

从 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.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。