Add Image Watermark To Image using n8n action
PDF4me Add Image Watermark To Image adds custom image watermarks to images through n8n automation workflows. Process images via n8n triggers, binary data, base64 strings, or public URLs to overlay watermark images (logos, stamps, signatures) with customizable positioning (corners, center, diagonal, custom coordinates), transparency control, sizing options, and offset adjustments. This solution is ideal for image branding, copyright protection, logo overlays, security watermarking, batch image processing, and automated watermark workflows that require professional image composition with flexible positioning and seamless integration.
Setup
Add the PDF4me "Add Image Watermark To Image" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.
Prerequisites:
- PDF4me API credentials
- n8n workflow access
Configuration:
- Add PDF4me node to workflow
- Select "Add Image Watermark To Image" action
- Configure input parameters (see below)

Parameters
Complete list of parameters for the Add Image Watermark to Image action. Configure these parameters to control watermark application.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Input Image Data Type*** | String | Image Input Format Selection • Choose the format of your source image data input • PDF4me supports multiple input types • Options: Binary Data, Base64 String, or URL | Binary Data |
| 1) Binary Data | Yes (One Required) | 1) Binary Data - Use "Input Binary Field" to reference image file from previous node | |
| 2) Base64 String | Yes (One Required) | 2) Base64 String - Use "Base64 Image Content" field for encoded image data | |
| 3) URL | Yes (One Required) | 3) URL - Use "Image URL" field to provide a public/open permission URL to the image file to watermark | |
| Input Binary Field | Binary | Binary Image File Input (Required if Binary Data) • Reference source image file from previous n8n node or file upload • PDF4me processes binary image files with automatic format detection • Required when Input Image Data Type is "Binary Data" | {{ $binary.data }} |
| Base64 Image Content | String | Base64 Encoded Image Input (Required if Base64 String) • Provide source image data as base64 encoded string • PDF4me automatically decodes and processes the image content • Required when Input Image Data Type is "Base64 String" | iVBORw0KGgoAAAANSUhEUgAA... |
| Image URL | String | Public Image URL Input (Required if URL) • Provide a public/open permission URL to the source image file • PDF4me downloads and processes the file from the provided URL • Required when Input Image Data Type is "URL" | https://abc.com/sam.jpg |
| Watermark Image Data Type*** | String | Watermark Format Selection • Choose the format of your watermark image data input • PDF4me supports multiple input types for flexible watermark management • Options: Binary Data, Base64 String, or URL | Binary Data |
| 1) Binary Data | Yes (One Required) | 1) Binary Data - Use "Watermark Binary Field" to reference watermark image file from previous node | |
| 2) Base64 String | Yes (One Required) | 2) Base64 String - Use "Base64 Watermark Content" field for encoded watermark image data | |
| 3) URL | Yes (One Required) | 3) URL - Use "Watermark URL" field to provide a public/open permission URL to the watermark image file | |
| Watermark Binary Field | Binary | Yes (If Binary Data) | PDF4me binary watermark file input - Reference watermark image file (.png, .jpeg) from previous n8n node or file upload. PDF4me processes binary watermark files with automatic format detection and validation. Required when Watermark Image Data Type is "Binary Data" |
| Base64 Watermark Content | String | Yes (If Base64 String) | PDF4me base64 encoded watermark input - Provide watermark image data (.png, .jpeg) as base64 encoded string for secure transmission. PDF4me automatically decodes and processes the watermark content with advanced compression and quality optimization for professional image watermarking workflows |
| Watermark URL | String | Yes (If URL) | PDF4me public watermark URL input - Provide a public/open permission URL to the watermark image file (.png, .jpeg) to be used for watermarking. PDF4me downloads and processes the watermark file from the provided URL. Required when Watermark Image Data Type is "URL" |
| Position | String | Yes | PDF4me watermark positioning - Choose the position where the watermark will be placed on the source image. PDF4me provides predefined positions for consistent watermark placement across different image sizes and aspect ratios |
| Top Right | Yes (One Required) | Top Right Position - Places watermark in the top-right corner of the image with precise corner alignment | |
| Top Left | Yes (One Required) | Top Left Position - Places watermark in the top-left corner of the image with precise corner alignment | |
| Bottom Right | Yes (One Required) | Bottom Right Position - Places watermark in the bottom-right corner of the image with precise corner alignment | |
| Bottom Left | Yes (One Required) | Bottom Left Position - Places watermark in the bottom-left corner of the image with precise corner alignment | |
| Central Horizontal | Yes (One Required) | Central Horizontal Position - Places watermark in the horizontal center of the image with precise center alignment | |
| Central Vertical | Yes (One Required) | Central Vertical Position - Places watermark in the vertical center of the image with precise center alignment | |
| Diagonal | Yes (One Required) | Diagonal Position - Places watermark diagonally across the image for watermark protection and branding | |
| Custom | Yes (One Required) | Custom Position - Allows custom positioning using Position X and Position Y coordinates for pixel-perfect placement | |
| Opacity | Number | Yes | PDF4me watermark transparency control - Set opacity level from 0.0 to 1.0 where 0.0 is entirely transparent and 1.0 is full opacity. PDF4me provides advanced transparency control for creating watermark effects, background logos, and layered image elements with professional visual impact |
| Horizontal Offset | Number | No | PDF4me horizontal offset positioning - Set horizontal offset in pixels to fine-tune watermark placement from the selected position. Positive values move the watermark right, negative values move it left. Default is 0 for precise positioning |
| Vertical Offset | Number | No | PDF4me vertical offset positioning - Set vertical offset in pixels to fine-tune watermark placement from the selected position. Positive values move the watermark down, negative values move it up. Default is 0 for precise positioning |
| Position X | Number | No | PDF4me absolute X coordinate - Set absolute horizontal position in pixels from the left edge of the image. This overrides the Position setting when specified. Use for pixel-perfect watermark placement |
| Position Y | Number | No | PDF4me absolute Y coordinate - Set absolute vertical position in pixels from the top edge of the image. This overrides the Position setting when specified. Use for pixel-perfect watermark placement |
| Rotation | Number | No | PDF4me watermark rotation angle - Set rotation angle in degrees (0-360) to rotate the watermark. Positive values rotate clockwise, negative values rotate counterclockwise. Default is 0 for no rotation |
| Output File Name | String | Yes | PDF4me watermarked image output filename - Specify the name for the generated watermarked image file with proper extension (.jpg, .png). PDF4me ensures unique naming and validates file format compliance |
| Binary Data Output Name | String | Yes | PDF4me binary data mapping - Define the variable name for accessing the generated watermarked image binary data in your n8n workflow. This binary data can be used as input data in subsequent actions within your workflow |
Supported Image Formats
| Format | Description | File Extensions | Max Size | Use Cases |
|---|---|---|---|---|
| JPEG | Joint Photographic Experts Group with optimized compression for photographic content | .jpg, .jpeg | 50MB | Photographic watermarks, detailed images, high-quality image branding |
| PNG | Portable Network Graphics with advanced transparency support and lossless compression | .png | 50MB | Watermarks with transparency, logos, stamps with transparency, professional branding |
| GIF | Graphics Interchange Format with animation support and limited color palette | .gif | 50MB | Animated watermarks, simple graphics, web-optimized branding |
| BMP | Bitmap image format with uncompressed pixel data and high quality | .bmp | 50MB | High-quality watermarks, detailed graphics, professional image processing |
Output
Output Parameters
| Parameter | Type | Description | Example |
|---|---|---|---|
| fileName | String | PDF4me generated image filename - The complete filename of the successfully generated watermarked image with proper extension. PDF4me ensures unique naming and validates file format compliance for seamless integration with downstream processes | image_with_watermark.jpg |
| fileSize | Number | PDF4me image file size in bytes - The exact size of the generated watermarked image file in bytes, provided by PDF4me for storage planning, bandwidth optimization, and file transfer monitoring. Essential for enterprise image management and workflow automation | 245760 |
| success | Boolean | PDF4me image watermark status indicator - Boolean flag indicating the success or failure of the image watermark addition process. PDF4me returns true for successful operations and false for any errors, enabling robust error handling in automated workflows | true |
| mimeType | String | PDF4me output MIME type - MIME type of the generated image file (e.g., "image/jpeg", "image/png"). Useful for content type validation and proper file handling in web applications | image/jpeg |
| message | String | PDF4me image watermark status message - Human-readable status message providing details about the image watermark addition process result. Includes success confirmation or error details for troubleshooting | Image watermark added successfully |
N8N Action Response
The PDF4me Add Image Watermark To Image API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:
- JSON
- Table
- Schema
- Binary
JSON Response Format
The raw JSON response from the API:
[
{
"success": true,
"message": "Image watermark added successfully",
"fileName": "image_with_watermark.jpg",
"mimeType": "image/jpeg",
"fileSize": 245760
}
]
Table View
Response data in a structured table format:
| Parameter | Value |
|---|---|
| success | true |
| message | Image watermark added successfully |
| fileName | image_with_watermark.jpg |
| mimeType | image/jpeg |
| fileSize | 245760 |
Schema View
The data structure and types of the response:
1 item
success: ☑ true
message: AB Image watermark added successfully
fileName: AB image_with_watermark.jpg
mimeType: AB image/jpeg
fileSize: # 245760
Type Indicators:
AB= String#= Number☑= Boolean
Binary Data View
The actual watermarked image file data and metadata:
data
─────────────────────────────
File Name: image_with_watermark.jpg
File Extension: jpg
Mime Type: image/jpeg
File Size: 240.0 KB
Binary Data Access:
- n8n Binary Object:
$binary.data.data - Base64 Content: Available for direct use
- File Operations: Ready for download, email, or storage
Use Cases
Professional Image Branding
- Add corporate logos and watermarks to product images for brand consistency
- Create branded social media content with consistent watermark placement
- Implement copyright protection for digital photography and artwork
Automated Content Processing
- Batch watermark processing for large image collections
- Integrate watermarking into content management workflows
- Automate image preparation for e-commerce and marketing materials
Enterprise Image Management
- Standardize image branding across multiple departments
- Implement automated watermarking for document and image workflows
- Create consistent visual identity across all digital assets