add-watermark
Add text or image watermarks to PDF files to protect ownership or brand content. Configure text, image, position, rotation, transparency, and page selection.
Instructions
Add a text or image watermark to a PDF document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | PDF file path or URL to watermark | |
| mode | Yes | Watermark mode: text or image | |
| text | No | Watermark text (required for text mode) | |
| image | No | Watermark image URL or path (required for image mode) | |
| layer | No | Watermark layer position | above |
| pages | No | Page selection (e.g., "1-3,5,7-10" or "all") | |
| mosaic | No | Enable mosaic mode (repeat watermark across page) | |
| fontSize | No | Font size in points | |
| rotation | No | Rotation angle in degrees | |
| fontColor | No | Font color in hex format (e.g., #FF0000) | #000000 |
| fontStyle | No | Font style | |
| outputDir | No | Output directory path | |
| fontFamily | No | Font family | Arial |
| transparency | No | Transparency percentage (0-100) | |
| outputFilename | No | Custom output filename | |
| verticalPosition | No | Vertical position | bottom |
| horizontalPosition | No | Horizontal position | center |