ComfyUI > Nodes > comfy_Pond_Nodes > πŸ³ε›Ύεƒεη›Έ (Invert Image)

ComfyUI Node: πŸ³ε›Ύεƒεη›Έ (Invert Image)

Class Name

InvertImage

Category
🐳Pond/ι’œθ‰²
Author
Pondowner857 (Account age: 730days)
Extension
comfy_Pond_Nodes
Latest Updated
2026-01-28
Github Stars
0.04K

How to Install comfy_Pond_Nodes

Install this extension via the ComfyUI Manager by searching for comfy_Pond_Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfy_Pond_Nodes 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

The InvertImage node reverses image colors to create a negative, aiding artistic effects.

πŸ³ε›Ύεƒεη›Έ (Invert Image):

The InvertImage node is designed to transform the colors of an image by inverting them, effectively creating a photographic negative of the original image. This process can be particularly useful in artistic applications where you want to explore different visual effects or highlight certain features of an image by reversing its color scheme. The node provides a straightforward way to toggle this inversion effect, allowing you to easily compare the original and inverted images. By leveraging the capabilities of the Python Imaging Library (PIL), the node ensures that the inversion process is efficient and maintains the quality of the image. This node is a valuable tool for AI artists looking to experiment with color manipulation and achieve unique visual outcomes.

πŸ³ε›Ύεƒεη›Έ (Invert Image) Input Parameters:

image

The image parameter is the primary input for the InvertImage node, representing the image that you wish to process. This parameter accepts an image in the form of a tensor, which is a multi-dimensional array commonly used in machine learning and image processing tasks. The image is expected to be in a format compatible with the node's processing capabilities, typically a 3D tensor representing the height, width, and color channels of the image. The quality and resolution of the input image can impact the final result, so it's important to provide a high-quality image for optimal outcomes.

invert_enabled

The invert_enabled parameter is a boolean switch that determines whether the inversion effect should be applied to the input image. When set to True, the node will perform the color inversion, transforming the image into its negative form. If set to False, the node will bypass the inversion process and return the original image unchanged. This parameter provides flexibility, allowing you to easily toggle the inversion effect on and off to compare the original and inverted images. The default value for this parameter is False, meaning that the inversion is not applied unless explicitly enabled.

πŸ³ε›Ύεƒεη›Έ (Invert Image) Output Parameters:

IMAGE

The output of the InvertImage node is an IMAGE, which is the processed version of the input image. If the invert_enabled parameter is set to True, this output will be the color-inverted version of the original image, showcasing a negative effect where colors are reversed. If invert_enabled is False, the output will simply be the original image, unchanged. This output allows you to visualize the effects of the inversion process and use the resulting image in further artistic or analytical applications.

πŸ³ε›Ύεƒεη›Έ (Invert Image) Usage Tips:

  • To achieve a dramatic visual effect, enable the invert_enabled parameter to transform your image into its negative form, which can be particularly striking for images with high contrast or vivid colors.
  • Use the invert_enabled parameter as a toggle to quickly compare the original and inverted images, helping you decide which version better suits your artistic vision or project requirements.

πŸ³ε›Ύεƒεη›Έ (Invert Image) Common Errors and Solutions:

Image format not supported

  • Explanation: The input image may not be in a compatible format or tensor structure required by the node.
  • Solution: Ensure that the input image is a properly formatted tensor, typically a 3D array representing the image's dimensions and color channels. Convert the image to the appropriate format if necessary.

Inversion not applied

  • Explanation: The invert_enabled parameter might be set to False, resulting in the original image being returned without inversion.
  • Solution: Check the invert_enabled parameter and set it to True if you want the inversion effect to be applied to the image.

πŸ³ε›Ύεƒεη›Έ (Invert Image) Related Nodes

Go back to the extension to check out more related nodes.
comfy_Pond_Nodes
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.