ComfyUI > Nodes > Allor Plugin > ImageEffectsNegative

ComfyUI Node: ImageEffectsNegative

Class Name

ImageEffectsNegative

Category
image/effects
Author
Nourepide (Account age: 2900days)
Extension
Allor Plugin
Latest Updated
2024-05-22
Github Stars
0.2K

How to Install Allor Plugin

Install this extension via the ComfyUI Manager by searching for Allor Plugin
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Allor Plugin 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ImageEffectsNegative Description

Inverts image colors to create negative effect for artistic contrasts and unique aesthetics.

ImageEffectsNegative:

The ImageEffectsNegative node is designed to invert the colors of your images, creating a negative effect. This effect is often used in artistic and creative contexts to produce striking visual contrasts and unique aesthetics. By reversing the color values, the node transforms bright areas into dark ones and vice versa, offering a fresh perspective on your original images. This can be particularly useful for creating dramatic effects or for use in various artistic projects where a negative image can add a unique touch.

ImageEffectsNegative Input Parameters:

images

The images parameter is the primary input for the ImageEffectsNegative node. It accepts a batch of images that you want to apply the negative effect to. Each image should be in a tensor format, typically with dimensions representing the batch size, height, width, and color channels (e.g., RGB). The node processes these images by inverting their color values, resulting in a negative effect. There are no specific minimum, maximum, or default values for this parameter, as it simply requires the images you wish to transform.

ImageEffectsNegative Output Parameters:

IMAGE

The output of the ImageEffectsNegative node is a batch of images with the negative effect applied. Each image in the output retains the same dimensions as the input images but with inverted color values. This means that the bright areas of the original images become dark, and the dark areas become bright, creating a visually striking negative effect. The output is useful for artistic and creative projects where such an effect can add a unique and dramatic touch to the visuals.

ImageEffectsNegative Usage Tips:

  • Use high-contrast images to maximize the visual impact of the negative effect, as the inversion will be more pronounced and striking.
  • Combine the negative effect with other image processing nodes, such as grayscale or sepia, to create complex and layered artistic effects.
  • Experiment with different types of images, such as portraits, landscapes, and abstract art, to see how the negative effect transforms various visual elements.

ImageEffectsNegative Common Errors and Solutions:

"Input tensor must have 4 dimensions"

  • Explanation: This error occurs when the input images do not have the expected dimensions (batch size, height, width, and color channels).
  • Solution: Ensure that your input images are in the correct tensor format with four dimensions. If necessary, reshape or preprocess your images to match the expected format.

"Invalid image data type"

  • Explanation: This error happens when the input images are not in a compatible data type, such as a non-tensor format.
  • Solution: Convert your images to the appropriate tensor format before passing them to the node. Use libraries like torch to handle the conversion if needed.

"Image tensor values out of range"

  • Explanation: This error indicates that the pixel values in the input images are not within the expected range (typically 0 to 1 for normalized images).
  • Solution: Normalize your image pixel values to be within the range of 0 to 1 before feeding them into the node. This can be done using image preprocessing techniques available in libraries like torchvision.

ImageEffectsNegative Related Nodes

Go back to the extension to check out more related nodes.
Allor Plugin
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.