Zohar
February 4, 2026, 11:41am
1
This is a general quesiton about how to make the best use of the Edit image node, which is quite under-documented.
My goal seemed to be simple:
Given two images: a logo and a random image, create a single image with the logo added to the random image in a fixed place.
To be precise: the original image should not change its size or aspect ratio. The logo should be added to the image, increasing its original size.
How I did it:
But this seems awefully cumbersome, slow and heavy.
Questions:
Is there a better way to do it? (I’ll accept answers like: “go do it somewhere else!” but I’m sure it’s largely feasible in n8n)
Also - what is the right operator to use inside the Edit image node?
Hi @Zohar
Based on the available docs:
Yes , n8n can overlay a logo onto an image at a fixed position using the Composite operation (with an operator like “Over”).
However , the docs don’t show a simple built-in way to increase the canvas size first and then add the logo outside the original image area. Achieving that would likely require additional image processing steps not covered in the current Edit Image documentation.
Go ahead and try it with the node and let me know if it works.
Reference:
[Edit Image ; Composite params ]
[Composite params ; Masking example ]
Hi @Zohar , welcome
Zohar:
Questions:
Is there a better way to do it? (I’ll accept answers like: “go do it somewhere else!” but I’m sure it’s largely feasible in n8n)
Also - what is the right operator to use inside the Edit image node?
I’d suggest removing the Merge nodes, since you can reference binary directly from previous nodes via expressions,
Also, you can use Operation > Multi-step to perform all three steps within a single node,
Here is a modified version:
2 Likes
Zohar
February 4, 2026, 4:56pm
4
@mohamed3nan Thanks!
Your solution is exactly what I was hoping for, very elegant!
1 Like
Zohar
February 4, 2026, 4:56pm
5
Any idea where I could read more about the different operators and their effects?
1 Like
urw
The n8n docs mention that this node depends on GraphicsMagick,
You can find the specific documentation for the operators here:
1 Like