ComfyUI > Nodes > ComfyUI-LogicUtils > Invert Image

ComfyUI Node: Invert Image

Class Name

InvertImageNode

Category
image
Author
aria1th (Account age: 3016days)
Extension
ComfyUI-LogicUtils
Latest Updated
2026-01-21
Github Stars
0.1K

How to Install ComfyUI-LogicUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI-LogicUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-LogicUtils in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Invert Image Description

Transforms images by reversing colors to create a negative, enhancing artistic effects.

Invert Image:

The InvertImageNode is designed to transform an image by reversing its colors, effectively creating a negative of the original image. This node is particularly useful for artistic purposes, allowing you to explore creative effects by altering the color dynamics of an image. By inverting the colors, the node swaps each pixel's color value with its complementary color, providing a unique visual transformation that can enhance or completely change the mood and tone of the image. This process is straightforward and can be applied to any image, making it a versatile tool in your image processing toolkit.

Invert Image Input Parameters:

image

The image parameter is the primary input for the InvertImageNode. It accepts an image file that you wish to invert. This parameter is crucial as it determines the source material for the inversion process. The image should be in a format that the node can process, typically a standard image format like JPEG or PNG. There are no specific minimum or maximum values for this parameter, as it is dependent on the image's dimensions and format. The node will handle the inversion of colors for the entire image provided.

Invert Image Output Parameters:

IMAGE

The output parameter, labeled as IMAGE, represents the resulting image after the inversion process. This output is the transformed version of the input image, where all colors have been inverted. The significance of this output lies in its ability to provide a visually distinct version of the original image, which can be used for various creative and artistic applications. The inverted image retains the same dimensions and format as the input image, ensuring compatibility with further processing or usage.

Invert Image Usage Tips:

  • Use the InvertImageNode to create striking visual effects by applying it to images with high contrast or vibrant colors, as the inversion will produce a dramatic transformation.
  • Combine the InvertImageNode with other image processing nodes, such as the ConvertGreyscaleNode, to explore different artistic styles and effects.

Invert Image Common Errors and Solutions:

Image must be in a compatible format

  • Explanation: The node requires the input image to be in a format it can process, such as JPEG or PNG.
  • Solution: Ensure that the image you are using is in a standard format supported by the node. Convert the image to a compatible format if necessary before processing.

Image processing failed

  • Explanation: This error may occur if there is an issue with the image file, such as corruption or an unsupported color profile.
  • Solution: Verify the integrity of the image file and ensure it is not corrupted. If the problem persists, try using a different image or re-saving the current image in a standard format.

Invert Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-LogicUtils
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.