OpenParable
Skip to content
← Back to skills

Del Watermark

Documents
del_watermark

Del Watermark is an Agent Skill for documents published in the CoderWanFeng/python-office repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

从图片中删除水印并保存。当用户提到去水印、去除水印、消水印、清除图片水印时使用。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CoderWanFeng/python-office/blob/HEAD/skills/image/del_watermark/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/del-watermark, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

del_watermark Skill

从输入的图片中删除水印

功能描述

从输入的图片中删除水印,并保存处理后的图片到指定路径。

所属分类

office/skills/image/del_watermark/

调用方式

from office.skills.image import del_watermark

del_watermark(
    input_image='./with_watermark.jpg',
    output_image='./no_watermark.jpg'
)

参数说明

参数类型必填默认值说明
input_imagestr是-输入图片的路径
output_imagestr否'./del_water_mark.jpg'处理后图片的保存路径

返回值

None

使用示例

from office.skills.image import del_watermark
del_watermark(input_image='./photo.jpg')

原始函数

office.api.image.del_watermark