Visit ComfyUI Online for ready-to-use ComfyUI environment
Manipulate image color values with clip, normalize, and compress modes for AI art color adjustments and enhancement.
The ColorModCompress node is designed to manipulate the color values of an image using three distinct modes: clip, normalize, and compress. This node is particularly useful for AI artists who want to adjust the dynamic range and intensity of colors in their images. By using this node, you can ensure that the color values of your image are within a desired range, either by clipping values to a specific range, normalizing the entire image to fit within a 0 to 1 range, or compressing the color values to enhance the visual contrast. This node helps in maintaining the visual quality and consistency of images, making it an essential tool for color correction and enhancement in AI-generated art.
The image
parameter is the input image that you want to process. It should be provided in a format that the node can understand, typically as a tensor. This image will undergo the selected color modification process based on the mode you choose.
The mode
parameter determines the type of color modification to apply to the image. It accepts three options: "clip", "normalize", and "compress".
The output parameter IMAGE
is the processed image after the selected color modification has been applied. This image will have its color values adjusted according to the mode specified, ensuring that the colors are within the desired range and enhancing the overall visual quality.
<mode>
'mode
parameter.mode
parameter is set to one of the following valid options: "clip", "normalize", or "compress". Double-check for any typos or incorrect values.© Copyright 2024 RunComfy. All Rights Reserved.