Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills181k1,119 new stars in the last 7 days
给 PDF 添加图片水印(logo 等)。当用户提到 PDF 图片水印、PDF 加 logo 时使用。
给 PDF 文件添加图片水印
向 PDF 文件添加图片作为水印。
office/skills/pdf/add_img_water/
from skills.pdf import add_img_water
add_img_water(
input_file='./test.pdf',
mark_file='./watermark.png',
output_file='./with_watermark.pdf'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_file | str | 否 | - | 输入 PDF 文件路径 |
mark_file | str | 否 | - | 水印图片文件路径 |
output_file | str | 否 | - | 输出 PDF 文件路径 |
pdf_file_in | str | 否 | - | [已弃用] 请使用 input_file |
pdf_file_mark | str | 否 | - | [已弃用] 请使用 mark_file |
pdf_file_out | str | 否 | - | [已弃用] 请使用 output_file |
None
from skills.pdf import add_img_water
add_img_water(
input_file='./report.pdf',
mark_file='./logo.png',
output_file='./with_watermark.pdf'
)
office.api.pdf.add_img_water
Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills181k1,119 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills181k1,119 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills181k1,119 new stars in the last 7 days
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills181k1,119 new stars in the last 7 days