Visit ComfyUI Online for ready-to-use ComfyUI environment
Inverts image colors for artistic effects, contrast enhancement, and analysis preparation.
The ImageMagick Negate node is designed to invert the colors of an image, effectively creating a negative of the original image. This can be particularly useful for artistic effects, enhancing contrast, or preparing images for certain types of analysis. The node offers flexibility by allowing you to negate specific color channels or the entire image, and it can also handle grayscale images. By inverting the colors, the node transforms light areas into dark areas and vice versa, providing a unique and visually striking result.
This parameter represents the input image that you want to process. It accepts an image file in a supported format.
This is a boolean parameter that determines whether the negation should be applied to a grayscale version of the image. If set to True
, the node will treat the image as grayscale; otherwise, it will process the image in color. The default value is False
.
This parameter allows you to specify which color channel(s) to negate. Options include undefined
, red
, gray
, cyan
, green
, magenta
, blue
, yellow
, black
, alpha
, opacity
, index
, readmask
, write_mask
, meta
, composite_channels
, all_channels
, true_alpha
, rgb
, rgb_channels
, gray_channels
, sync_channels
, and default_channels
. The default value is red
. Selecting a specific channel can help you achieve more targeted effects.
The output is the processed image with the specified negation applied. This image will have its colors inverted based on the input parameters, resulting in a visually distinct negative version of the original image.
grayscale
parameter to True
before applying the negation.Image format not supported
Invalid channel selection
Image processing failed
© Copyright 2024 RunComfy. All Rights Reserved.