add_image_watermark_to_image
Overlay a watermark image onto a source image with configurable position, opacity, and rotation.
Instructions
Overlay a watermark image on a source image via PDF4me AddImageWatermarkToImage (/api/v2/AddImageWatermarkToImage). Provide image_file_path, watermark_image_file_path, and position (topright, topleft, bottomright, bottomleft, centralhorizontal, diagonal, centralvertical, custom). Optional: opacity (0.0–1.0), horizontal/vertical offset, position_x/y for custom, rotation (degrees), output path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | No | ||
| doc_name | No | ||
| position | Yes | ||
| rotation | No | ||
| output_dir | No | ||
| position_x | No | ||
| position_y | No | ||
| image_file_path | Yes | ||
| vertical_offset | No | ||
| output_file_name | No | ||
| horizontal_offset | No | ||
| watermark_file_name | No | ||
| watermark_image_file_path | Yes |