ComfyUI  >  Nodes  >  ComfyUI-MagickWand >  ImageMagick Level

ComfyUI Node: ImageMagick Level

Class Name

ImageMagick Level

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

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 Cloud 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 Level Description

Adjust image levels for enhanced appearance by modifying brightness, contrast, and gamma values.

ImageMagick Level:

The ImageMagick Level node is designed to adjust the levels of an image, enhancing its overall appearance by modifying the brightness, contrast, and gamma values. This node allows you to fine-tune the tonal range of an image, making it possible to bring out details in shadows and highlights, or to correct exposure issues. By specifying the black and white points, you can control the darkest and lightest parts of the image, while the gamma adjustment lets you tweak the midtones. This node is particularly useful for improving the visual quality of images, making them more vibrant and visually appealing.

ImageMagick Level Input Parameters:

image

This parameter accepts the image that you want to process. The image should be in a format compatible with the node's processing capabilities.

black

This parameter sets the black point of the image, which determines the darkest part of the image. Adjusting this value can help in enhancing shadow details. The value ranges from 0.0 to 1024, with a default of 0.0.

white

This parameter sets the white point of the image, which determines the brightest part of the image. Adjusting this value can help in enhancing highlight details. The value ranges from 0.0 to 1024, with a default of 0.0.

gamma

This parameter adjusts the gamma of the image, which affects the midtones. A gamma value of 1.0 means no change, while values less than 1.0 darken the image and values greater than 1.0 lighten it. The value ranges from 0.0 to 1024, with a default of 1.0.

channel

This parameter specifies the color channel to be adjusted. 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 is red.

ImageMagick Level Output Parameters:

IMAGE

The output is the processed image with adjusted levels. This image will have enhanced brightness, contrast, and gamma based on the input parameters, resulting in a visually improved version of the original image.

ImageMagick Level Usage Tips:

  • To enhance shadow details, increase the black parameter slightly.
  • To bring out highlight details, adjust the white parameter.
  • Use the gamma parameter to fine-tune the midtones for a balanced look.
  • Experiment with different channel settings to target specific color adjustments.

ImageMagick Level Common Errors and Solutions:

Invalid image format

  • Explanation: The input image is not in a supported format.
  • Solution: Ensure the image is in a compatible format such as JPEG, PNG, or TIFF.

Parameter out of range

  • Explanation: One of the input parameters is outside the allowed range.
  • Solution: Check the values of black, white, and gamma to ensure they are within the specified ranges.

Channel not recognized

  • Explanation: The specified channel is not valid.
  • Solution: Verify that the channel parameter is set to one of the allowed options.

ImageMagick Level 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.