微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🔒

手机实时调参的PDF水印神器

PDF PPTX Watermark · v1.5.2
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
办公 安全 A 级 作者 avocadoleaf-highfive 公开目录收录
325 下载 0 安装 1.6k 收藏 2 浏览

简介

基于LibreOffice的开源工具,支持PPTX一键转PDF并添加可实时手机预览的自定义水印,三种模式、全参数可调,本地处理安全无忧。

原始描述

PPTX→PDF watermark tool with real-time mobile parameter tuning. Convert PPT/PPTX to PDF, add custom watermarks (diagonal/grid/center), adjust text/size/opacity/rotation/color — all tunable live from your phone. Trigger: 加水印、转PDF、PDF水印、水印工具、add watermark, convert to PDF, PDF watermark.

通过你的 Agent 添加

安装目录:pdf-pptx-watermark/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/pdf-pptx-watermark/
Codex CLI~/.codex/skills/pdf-pptx-watermark/
DeepSeek Harness~/.agents/skills/pdf-pptx-watermark/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

PDF Watermark 是一款专注于 PPT/PPTX 转 PDF 并添加自定义水印的本地化工具。用户可通过命令行一键完成格式转换与水印添加,或通过手机扫码实时调整水印参数(文字内容、字号、透明度、旋转角度、颜色、布局模式等),预览满意后直接导出 JSON 配置或直接生成带水印的 PDF。支持三种水印模式:对角线重复(Diagonal)、网格平铺(Grid)、居中单个大水印(Center),分别适用于"机密"、"内部使用"、"草稿/已批准"等不同场景。

显著优点

移动优先的交互体验:最大亮点是支持手机实时调参,用户无需编辑配置文件,通过滑动条即可调整所有参数并即时预览效果,大幅降低使用门槛。 完全本地化安全:基于 Python 3 + LibreOffice + PyPDF2/reportlab 构建,无需联网、无 API 密钥、不修改原文件,满足敏感文档处理的安全需求。 跨平台兼容:自动检测 CJK 字体,支持 macOS、Linux、Windows 三端,对中文用户友好。 灵活的配置体系:所有参数均有合理默认值,也支持 JSON 精细配置,兼顾快速使用与高级定制。

潜在缺点与局限性

依赖项较重:必须预先安装 LibreOffice(体积较大)及 Python 依赖库,首次部署成本高于纯 Web 工具。 无图形界面:核心功能为命令行工具,虽然手机调参弥补了配置便捷性,但日常批量处理仍需终端操作。 功能边界清晰:仅支持 PPTX→PDF 单向转换及水印添加,不具备 PDF 编辑、合并、拆分等其他功能。 社区维护状态:由个人开发者维护(AvocadoLeaf-Highfive),长期更新保障度需观察。

适合的目标群体

  • 需要快速为演示文稿添加"机密""内部资料"等水印的企业行政人员
  • 注重数据隐私、拒绝云端处理的法务、金融、科研等敏感行业从业者
  • 追求自动化批处理的开发者或运维人员(可集成到 CI/CD 或脚本工作流)
  • 经常需要调整水印样式直至满意的设计师或产品经理

使用风险

性能风险:LibreOffice 的 PPTX 渲染引擎在处理复杂动画或超大文件时可能耗时较长,建议提前测试文件兼容性。 字体渲染差异:自动检测 CJK 字体的机制在不同操作系统下可能产生细微排版差异,重要文档建议导出后人工复核。 依赖更新风险:PyPDF2 等库的重大版本更新可能引入 API 变更,需关注版本锁定。 无云端备份:纯本地处理意味着误删文件无法恢复,建议操作前做好原文件备份。

技能正文


name: pdf-watermark description: "PPTX→PDF watermark tool with real-time mobile parameter tuning. Convert PPT/PPTX to PDF, add custom watermarks (diagonal/grid/center), adjust text/size/opacity/rotation/color — all tunable live from your phone. Trigger: 加水印、转PDF、PDF水印、水印工具、add watermark, convert to PDF, PDF watermark." version: 1.5.0 metadata: openclaw: requires: bins: [python3] anyBins: [soffice, libreoffice] install: - kind: brew formula: libreoffice bins: [soffice] emoji: "🔒" homepage: https://github.com/AvocadoLeaf-Highfive/pdf-pptx-watermark

PDF Watermark

📱 Core Highlight: Mobile Parameter Tuning Tune every watermark parameter in real-time from your phone — no config file editing, no guessing. Adjust, preview, export.

Convert PPT/PPTX to PDF and add custom watermarks with live mobile preview. 将 PPT/PPTX 转为 PDF,支持手机实时调参加水印。

Mobile Parameter Tuning / 手机实时调参

Tune every watermark parameter in real-time from your phone — scan QR code, adjust sliders, preview instantly, copy JSON config.

👉 See live demo GIF & mobile UI screenshots: GitHub README

Three Watermark Modes / 三种水印模式

  • 🔹 Diagonal (default) — classic 45° rotated watermark, repeated diagonally across the page. Best for "CONFIDENTIAL" stamps.
  • 🔹 Grid — uniform grid of watermark text (e.g. 3×5), no rotation. Best for "INTERNAL USE" patterns.
  • 🔹 Center — single large watermark centered on the page. Best for "DRAFT" / "APPROVED" stamps.

👉 See effect screenshots: GitHub README

Quick Start / 快速开始

# One-liner: PPTX → watermarked PDF
python3 {baseDir}/scripts/pptx_to_pdf_watermark.py input.pptx output.pdf

# With custom config
python3 {baseDir}/scripts/pptx_to_pdf_watermark.py input.pdf output.pdf config.json

Features / 功能

  • 📱 Mobile parameter tuning — live preview on phone, copy JSON, done
  • 📐 3 layout modes — diagonal / grid / center
  • 🎨 Full customization — text, size, opacity, rotation, color
  • 🌍 Cross-platform — auto-detects CJK fonts (macOS/Linux/Windows)
  • 📦 PPTX support — one step from PPTX to watermarked PDF
  • 🔒 Local & safe — no network, no credentials, input never modified

Configuration / 配置

{
  "text": "CONFIDENTIAL",
  "fontSize": 60,
  "opacity": 0.15,
  "rotation": 45,
  "color": [0.5, 0.5, 0.5],
  "pattern": "diagonal",
  "repeatX": 3,
  "repeatY": 3
}

All parameters optional — sensible defaults provided.

Parameter Default Description
text "内部资料 请勿外传" Watermark text
fontSize 60 Font size (pt)
opacity 0.15 Transparency (0–1)
rotation 45 Rotation (degrees)
color [0.5, 0.5, 0.5] RGB (0–1)
pattern "diagonal" diagonal / grid / center
repeatX 3 Grid horizontal count
repeatY 3 Grid vertical count

Dependencies / 依赖

  • LibreOffice (PPTX→PDF): brew install --cask libreoffice (macOS) / apt install libreoffice (Linux)
  • Python 3: pip3 install PyPDF2 reportlab

Principles

  • Non-destructive — input file is never modified
  • Cross-platform — auto-detects OS-appropriate fonts
  • No network required — all processing is local
  • No credentials — no API keys, nothing to leak

License

MIT-0 (No attribution required)

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

docsproductivityofficeautomation

同类 Skill