pdf_watermark
Add a diagonal text watermark across PDF pages. Customize text, opacity, font size, color, rotation, and specific pages.
Instructions
Add a diagonal text watermark across PDF pages. The text is properly centered regardless of rotation angle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Watermark text (e.g. "CONFIDENTIAL", "DRAFT") | |
| color | No | Color — hex (#f00), short hex (#ff0000), or name (red, navy, etc). Default: #888888 | #888888 |
| pages | No | Pages to watermark (1-indexed). Omit for all. | |
| opacity | No | Opacity 0-1 (default: 0.15) | |
| filePath | Yes | PDF file path | |
| fontSize | No | Font size in points (default: 60) | |
| rotation | No | Rotation in degrees (default: 45) | |
| outputPath | Yes | Output path |