ComfyUI Node

Image Autotone

Clip color channels independently to increase contrast and alter color cast. This is a reinterpretation of Photoshop's "Auto Tone" algorithm.

By SparknightLLC·Created 2 years ago·Updated about a year ago· 24
Image Autotone
  • image
  • IMAGE
shadows0,0,0
highlights255,255,255
shadow_clip0.001
highlight_clip0.001
Categoryimage

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
shadowsSTRING0,0,0The color to use for the shadows in the image. This should be a comma-separated RGB value (e.g., '0,0,0' for black) or HEX string (e.g. '#000000').
highlightsSTRING255,255,255The color to use for the highlights in the image. This should be a comma-separated RGB value (e.g., '255,255,255' for white) or HEX string (e.g. '#FFFFFF').
shadow_clipFLOAT0.0010–1The percentage of pixels to clip from the shadows. This is a value between 0 and 1.
highlight_clipFLOAT0.0010–1The percentage of pixels to clip from the highlights. This is a value between 0 and 1.

Outputs (1)

NameTypeDescription
IMAGEIMAGE