Actions80
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Image Watermark To Image
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- Add Text Watermark To Image
- AI-Invoice Parser
- AI-Process Contract
- AI-Process HealthCard
- Classify Document
- Compress Image
- Compress PDF
- Convert HTML To PDF
- Convert Image Format
- Convert JSON To Excel
- Convert Markdown To PDF
- Convert PDF To Editable PDF Using OCR
- Convert PDF To Excel
- Convert PDF To PowerPoint
- Convert PDF To Word
- Convert To PDF
- Convert URL to PDF
- Convert VISIO
- Convert Word to PDF Form
- Create Images From PDF
- Create PDF/A
- Create Swiss QR Bill
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Split PDF By Barcode
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Extract Attachment From PDF
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Resources
- Extract Table From PDF
- Extract Text By Expression
- Extract Text From Word
- Fill PDF Form
- Find And Replace Text
- Flip Image
- Flatten PDF
- Generate Barcode
- Generate Document Single
- Generate Documents Multiple
- Get Document From Pdf4me
- Get Image Metadata
- Get PDF Metadata
- Split PDF By Swiss QR
- Get Tracking Changes In Word
- Image Extract Text
- Linearize PDF
- Merge Multiple PDFs
- Overlay PDFs
- Parse Document
- Protect PDF
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Remove EXIF Tags From Image
- Repair PDF Document
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Document
- Rotate Image
- Rotate Image By EXIF Data
- Rotate PDF Page
- Sign PDF
- Split PDF By Text
- Split PDF Regular
- Unlock PDF
- Update Hyperlinks Annotation
- Upload File To PDF4me
Overview
This node operation "Add Image Watermark To Image" allows users to overlay a watermark image onto another image. It supports multiple input methods for both the main image and the watermark, including binary data from previous nodes, base64 encoded strings, or URLs. Users can customize the watermark's position, opacity, rotation, and offsets to achieve the desired visual effect.
Common scenarios include branding images with logos, protecting photos by adding copyright marks, or visually marking images for internal use. For example, a marketing team might automatically add their company logo as a watermark to product images before publishing them online.
Properties
| Name | Meaning |
|---|---|
| Input Image Data Type | How the main image is provided: "Binary Data" (from previous node), "Base64 String" (base64 encoded content), or "URL" (link to image file). |
| Input Binary Field | The name of the binary property containing the main image file (used if Input Image Data Type is "Binary Data"). |
| Base64 Image Content | Base64 encoded string of the main image content (used if Input Image Data Type is "Base64 String"). |
| Image URL | URL pointing to the main image file (used if Input Image Data Type is "URL"). |
| Watermark Image Data Type | How the watermark image is provided: "Binary Data", "Base64 String", or "URL". |
| Watermark Binary Field | The name of the binary property containing the watermark image file (used if Watermark Image Data Type is "Binary Data"). |
| Base64 Watermark Content | Base64 encoded string of the watermark image content (used if Watermark Image Data Type is "Base64 String"). |
| Watermark Image URL | URL pointing to the watermark image file (used if Watermark Image Data Type is "URL"). |
| Output File Name | Desired filename for the output image with the watermark applied. |
| Position | Position of the watermark on the main image. Options include: Top Right, Top Left, Bottom Right, Bottom Left, Central Horizontal, Central Vertical, Diagonal, or Custom. |
| Opacity | Opacity level of the watermark, ranging from 0.0 (fully transparent) to 1.0 (fully opaque). |
| Horizontal Offset | Integer horizontal offset to adjust watermark position. |
| Vertical Offset | Integer vertical offset to adjust watermark position. |
| Position X | X coordinate for custom positioning of the watermark (used if Position is "Custom"). |
| Position Y | Y coordinate for custom positioning of the watermark (used if Position is "Custom"). |
| Rotation | Rotation angle in degrees to rotate the watermark image. |
| Binary Data Output Name | Custom name for the binary data field in the node's output that contains the watermarked image. |
Output
The node outputs the processed image with the watermark applied. The output includes a binary data field (with customizable name) containing the resulting image file. The JSON part of the output typically contains metadata or references related to the processed image.
If the input was binary data, the output will be binary data representing the watermarked image file, ready for further processing or saving.
Dependencies
- This node requires access to image files either via binary data from previous nodes, base64 encoded strings, or accessible URLs.
- No external API keys or services are explicitly required based on the static code analysis.
- Proper configuration of the workflow to provide valid image inputs is necessary.
Troubleshooting
- Invalid Image Input: If the input image or watermark is not correctly provided (e.g., invalid base64 string, inaccessible URL, or missing binary data), the node may fail. Ensure the input matches the selected data type.
- Positioning Issues: Incorrect offset or custom position values may place the watermark outside the visible area. Adjust offsets and coordinates carefully.
- Opacity and Rotation: Values out of range or unexpected types may cause errors or undesired results. Use opacity between 0 and 1 and rotation as a float number.
- Output Filename Conflicts: Using duplicate or invalid filenames might cause issues downstream. Use unique and valid filenames.
If the node throws errors, verify the input parameters and ensure the image sources are accessible and correctly formatted.