Background Fill: replace transparency with a solid background color using sharp.
npm install n8n-nodes-background-colour
- Add the Background Fill node.
- Configure:
- Binary Property: input binary key (default
image) - Hex Color: e.g.
#0A84FF - Output Property: binary key to write (default
output) - Output Format: PNG | JPEG | WEBP
- Resize to Input Size: keep original dimensions
- Binary Property: input binary key (default
Given a PNG with transparent areas in binary.image, the node outputs an image with the background filled to the specified color at binary.output.
MIT
