Skip to content

Invert

Node icon
Color

Inverts image channels, flipping colors to their complement per channel or all at once.

Invert subtracts each pixel value from 255, producing the complementary color. Red becomes cyan, white becomes black, etc. Each channel (R, G, B, A) can be inverted independently.

Alpha inversion is off by default to preserve transparency. Enable it when you need to flip a mask or alpha channel.

Pins

ImageImage
InputRequired
MaskMask
InputOptional
ImageImage
Output
AlphaMask
Output

Color

Invert RedToggle
Default: true

Invert the red channel (255 - value)

Invert GreenToggle
Default: true

Invert the green channel (255 - value)

Invert BlueToggle
Default: true

Invert the blue channel (255 - value)

Invert AlphaToggle
Default: false

Invert the alpha channel (255 - value). Off by default to preserve transparency

Mask

Mask FitChoice
Default: None (native size)
Mask connected

How the mask is sized when it doesn't match the image. None: center at native size, no scaling. Stretch: scale to exactly match image dimensions. Fit: scale to fit inside image, preserving aspect ratio. Fill: scale to fill image, cropping overflow

  • None (native size)Center the mask at its native size — no resizing. Unmasked regions are unaffected.
  • StretchStretch the mask to exactly match the image dimensions. May distort the mask shape.
  • Fit (letterbox)Scale the mask to fit inside the image, preserving aspect ratio. Letterboxes where needed.
  • Fill (crop)Scale the mask to fill the image, preserving aspect ratio. Crops edges if aspect ratios differ.
  • Invert only the Alpha channel to flip a mask, so selected becomes unselected.
  • Combine with Composite (Difference mode) for creative effects.
  • Connect a mask input to invert only specific regions of the image.