PDF4me icon

PDF4me

PDF4me for n8n automates document workflows: AI-powered parsing, classification, and data extraction, plus PDF conversion, generation, merge/split, editing, forms, stamps, signatures, OCR, barcodes and Swiss QR, invoices, image processing, security, and Word tools.

Actions92

Image → Add Image Watermark To Image

AI-generated

Summary

Adds an image watermark to a supplied image and returns the processed image as binary data. Choose how to provide both the source image and watermark, then configure placement, opacity, offsets, rotation, and output names as needed.

Inputs

  • Input image (required) — Choose Base64 String (base64Content), Binary Data (binaryPropertyName, default data), or URL (imageUrl).
  • Watermark image (required) — Choose Base64 String (watermarkBase64Content), Binary Data (watermarkBinaryPropertyName, default data), or URL (watermarkImageUrl).
  • Output File Name — Name for the watermarked image file; defaults to image_with_watermark.jpg.
  • Position — Watermark placement: bottom left/right, central horizontal/vertical, custom, diagonal, or top left/right. Defaults to top right.
  • Opacity — Watermark opacity from 0 to 1; defaults to 1.
  • Horizontal Offset — Integer horizontal positioning offset; defaults to 0.
  • Vertical Offset — Integer vertical positioning offset; defaults to 0.
  • Position X — X coordinate for custom positioning; shown when Position is Custom. Defaults to 0.
  • Position Y — Y coordinate for custom positioning; shown when Position is Custom. Defaults to 0.
  • Rotation — Watermark rotation angle; defaults to 0.
  • Binary Data Output Name — Name of the binary property in the n8n output; defaults to data.

Output shape

A single n8n item containing the watermarked image as binary data.

The binary property name is configurable with Binary Data Output Name. The supplied properties and source pack do not show additional output fields or runtime details.

Examples

Example 1: Place a semi-transparent logo on an image

Choose Binary Data for both inputs, set the binary property names, set Position to a corner or Custom, and lower Opacity.

Example 2: Use remote image files

Choose URL for the input image and watermark, then enter both URLs.

Links

Discussion