Skip to main content

Invert Image

Controlled node

Overview

The Invert Image node creates a color-negative version of the input image by inverting all color channels. This is useful for creating photo-negative effects, enhancing visibility of certain image features, or preparing images for specific computer vision tasks.

This node processes the image using the Jimp image manipulation library, applying a full color inversion to every pixel.

Inputs

InputTypeDescriptionDefault
RunEventTriggers the image inversion process.-
ImageDataThe source image to be inverted. Accepts image objects from other image nodes or file inputs.-

Outputs

OutputTypeDescription
DoneEventFires when the image has been successfully processed.
OutputDataThe inverted image object, which can be passed to other image processing nodes or saved to the library.

Runtime Behavior

When the Run event fires, the node takes the input image and inverts all color values (subtracting each RGB channel value from 255). The resulting image is output through the Output socket, and the Done event fires to signal completion.

The node performs a simple 1-to-1 image transformation with no additional configuration parameters required.

Example Usage

Connect the Output of a Read Image node to the Image input of the Invert Image node. Then connect the Done event to trigger subsequent actions, such as displaying the result or saving it to the library:

[Read Image] → [Invert Image] → [Write To Library]
↓ ↓ ↓
Image Done File

You can also chain multiple image operations together:

[Read Image] → [Invert Image] → [Resize Image] → [Output]