ComfyUI > Nodes > ComfyUI-ImageAutotone > Image Autotone

ComfyUI Node: Image Autotone

Class Name

ImageAutotone

Category
image
Author
SparknightLLC (Account age: 616days)
Extension
ComfyUI-ImageAutotone
Latest Updated
2025-04-15
Github Stars
0.02K

How to Install ComfyUI-ImageAutotone

Install this extension via the ComfyUI Manager by searching for ComfyUI-ImageAutotone
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-ImageAutotone 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Image Autotone Description

Enhances image quality by auto-adjusting tonal range, contrast, and color balance.

Image Autotone:

The Image Autotone node is designed to enhance the visual quality of images by automatically adjusting their tonal range. This node is particularly useful for increasing contrast and correcting color casts in images, making them appear more vibrant and balanced. It achieves this by independently clipping the color channels, which allows for a more nuanced adjustment of shadows and highlights. This process is inspired by the "Auto Tone" feature found in popular image editing software like Photoshop. By using this node, you can effortlessly improve the overall appearance of your images, making them more visually appealing without the need for manual adjustments.

Image Autotone Input Parameters:

image

The image parameter is the input image that you want to process. It should be provided in a compatible format, typically as a tensor or array, that the node can interpret and manipulate. This parameter is essential as it serves as the base for all subsequent tonal adjustments.

shadows

The shadows parameter specifies the color to be used for the shadows in the image. It accepts a comma-separated RGB value (e.g., 0,0,0 for black) or a HEX string (e.g., #000000). This parameter allows you to define the darkest tones in the image, influencing how shadow areas are rendered. The default value is 0,0,0.

highlights

The highlights parameter defines the color for the highlights in the image. Similar to the shadows parameter, it accepts a comma-separated RGB value (e.g., 255,255,255 for white) or a HEX string (e.g., #FFFFFF). This parameter determines the brightest tones in the image, affecting how highlight areas are displayed. The default value is 255,255,255.

shadow_clip

The shadow_clip parameter is a float value that determines the percentage of pixels to clip from the shadows. This value ranges from 0.0 to 1.0, with a default of 0.001. By adjusting this parameter, you can control the extent to which shadow details are clipped, which can enhance contrast by darkening shadow areas.

highlight_clip

The highlight_clip parameter is a float value that specifies the percentage of pixels to clip from the highlights. Like the shadow_clip, it ranges from 0.0 to 1.0, with a default of 0.001. This parameter allows you to manage the clipping of highlight details, which can increase contrast by brightening highlight areas.

Image Autotone Output Parameters:

IMAGE

The output parameter is an IMAGE, which is the processed version of the input image. This output reflects the adjustments made to the tonal range, with enhanced contrast and corrected color casts. The resulting image is typically more visually appealing, with improved balance between shadows and highlights.

Image Autotone Usage Tips:

  • Experiment with different shadow_clip and highlight_clip values to achieve the desired level of contrast in your images. Small adjustments can significantly impact the final appearance.
  • Use the shadows and highlights parameters to correct color casts by setting them to complementary colors of the unwanted tint in your image.

Image Autotone Common Errors and Solutions:

Image format not supported

  • Explanation: The input image is not in a compatible format that the node can process.
  • Solution: Ensure that the image is provided as a tensor or array in the expected format, typically a 4D tensor array with dimensions [B, H, W, C].

Invalid RGB or HEX value

  • Explanation: The shadows or highlights parameter contains an incorrectly formatted RGB or HEX value.
  • Solution: Double-check that the RGB values are comma-separated and within the range of 0 to 255, or that the HEX string is correctly formatted with a # followed by six hexadecimal digits.

Clipping values out of range

  • Explanation: The shadow_clip or highlight_clip values are set outside the permissible range of 0.0 to 1.0.
  • Solution: Adjust the clipping values to be within the specified range to ensure proper functioning of the node.

Image Autotone Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-ImageAutotone
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.