Back to Node List

Invert

invert

Inverts the colors of the image

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
画像
input
Image
Required
入力画像

Output Ports

NameTypeDescription
画像
output
Image
色反転後の画像

Overview

A single-purpose node that produces a photographic negative. In production it appears more often as an intermediate step that reverses the black and white of a mask or height map than as an effect on finished artwork. It can also create effect flashes such as a damage blink.

Usage tips

  • Mask inversion is the most common use: swap selected and unselected areas after threshold or path_mask.
  • Invert a height map to turn a raised area into a recess. height_from_image has its own invert option; use this node for any other height map.
  • For a damage flash, alternate between the normal and inverted images with a switch or by switching blend opacity.

Common pitfalls

  • Transparent areas are not inverted: this is intentional; the A channel is unchanged. Use channel operations such as channel_split / channel_merge to invert transparency.
  • Only the hue should rotate: a negative also reverses luminance. To invert only hue, use hue +180 in hsv_adjust.

Technical details

Each pixel's R/G/B channels are transformed to 1.0 - value. The A channel is unchanged.

Related nodes

  • threshold — creates masks commonly paired with inversion and has its own invert option
  • hsv_adjust — invert hue while preserving luminance
  • channel_split / channel_merge — channel operations including alpha
Back to Node List
Invert — PixPipeline Node Reference