ComfyUI > Nodes > ComfyUI-MagickWand > ImageMagick Gamma

ComfyUI Node: ImageMagick Gamma

Class Name

ImageMagick Gamma

Category
MagickWand/Enhance
Author
Fannovel16 (Account age: 3129days)
Extension
ComfyUI-MagickWand
Latest Updated
2024-06-20
Github Stars
0.07K

How to Install ComfyUI-MagickWand

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

ImageMagick Gamma Description

Adjust image gamma levels for enhanced visual quality and brightness control.

ImageMagick Gamma:

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.

ImageMagick Gamma Input Parameters:

image

This parameter represents the input image that you want to apply the gamma correction to. It is required and should be of type IMAGE.

adjustment_value

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.

channel

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.

ImageMagick Gamma Output Parameters:

IMAGE

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.

ImageMagick Gamma Usage Tips:

  • To brighten an image, set the adjustment_value to a value greater than 1.0.
  • To darken an image, set the adjustment_value to a value less than 1.0.
  • Experiment with different channel settings to apply gamma correction to specific color channels for more targeted adjustments.

ImageMagick Gamma Common Errors and Solutions:

Invalid adjustment_value

  • Explanation: The adjustment_value provided is outside the acceptable range.
  • Solution: Ensure that the adjustment_value is between 0.0 and 1024.

Unsupported channel

  • Explanation: The channel specified is not recognized or supported.
  • Solution: Verify that the channel parameter is set to one of the supported options listed in the input parameters.

Image not provided

  • Explanation: The image parameter is missing or not correctly specified.
  • Solution: Ensure that an image is provided as input and that it is of type IMAGE.

ImageMagick Gamma Related Nodes

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