Visit ComfyUI Online for ready-to-use ComfyUI environment
Adjust image gamma levels for enhanced visual quality and brightness control.
The ImageMagick Gamma node is designed to adjust the gamma levels of an image, which can significantly enhance the visual quality by altering the brightness and contrast. Gamma correction is a non-linear operation used to encode and decode luminance or tristimulus values in image systems. By adjusting the gamma, you can make an image appear brighter or darker, which is particularly useful for correcting images that are too dark or too light. This node allows you to specify the gamma adjustment value and the color channel to which the adjustment should be applied, providing fine control over the image enhancement process.
This parameter represents the input image that you want to apply the gamma correction to. It is required and should be of type IMAGE
.
This parameter specifies the gamma adjustment value. It determines the degree of gamma correction applied to the image. A value of 1.0 means no change, values less than 1.0 will darken the image, and values greater than 1.0 will brighten the image. The default value is 1.0, with a minimum of 0.0 and a maximum of 1024, adjustable in steps of 0.01.
This parameter allows you to select the specific color channel to which the gamma adjustment will be applied. 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
.
The output is the gamma-corrected image. This parameter represents the processed image after the gamma adjustment has been applied, allowing you to see the visual changes made by the node.
adjustment_value
to a value greater than 1.0.adjustment_value
to a value less than 1.0.channel
settings to apply gamma correction to specific color channels for more targeted adjustments.Invalid adjustment_value
adjustment_value
provided is outside the acceptable range.adjustment_value
is between 0.0 and 1024.Unsupported channel
channel
specified is not recognized or supported.channel
parameter is set to one of the supported options listed in the input parameters.Image not provided
image
parameter is missing or not correctly specified.IMAGE
.© Copyright 2024 RunComfy. All Rights Reserved.