VMTech Edit Image icon

VMTech Edit Image

Edit images with a sharp-based Parity+ pipeline and robust text rendering

Transparent

AI-generated

Summary

Make pixels matching the selected color transparent in the source image. The node processes the binary image and returns it in the configured output format and binary property.

Inputs

  • Input Property Name (required) — Binary property containing the source image; defaults to data.
  • Color (required) — Target color to make transparent; defaults to #ff0000ff.
  • Tolerance — Color matching tolerance; defaults to 0, which matches only the exact target color. The implementation compares summed RGBA channel differences against four times this value.
  • Options — Optional output settings: choose a binary property name for the result, set a file name, override the output format, set quality, or choose the background used when exporting to formats without alpha support.

Output shape

A single n8n item per input item, containing the original JSON and the processed image as binary data.

By default, the processed image is written to the input binary property; an output property name can direct it to a different key. Output format defaults to the input format, and JPEG export flattens transparency onto the configured background color. Errors are thrown unless Continue On Fail is enabled.

Links

Discussion