Nodes/RC Image Compositor/RC Gradient Map
ComfyUI Node

RC Gradient Map

Apply gradient mapping to image based on luminosity values

By kj863257·Created 11 months ago·Updated 9 months ago· 16
RC Gradient Map
  • image
  • IMAGE
gradient_data{"stops": [{"position": 0.0, "color": [0, 0, 0, 255]}, {"position": 1.0, "color": [255, 255, 255, 255]}]}
blend_modenormal
opacity1.00
preserve_luminosityfalse
CategoryRC/Adjustments

Inputs (5)

NameTypeDefaultDescription
imageIMAGEInput image to apply gradient mapping
gradient_dataSTRING{"stops": [{"position": 0.0, "color": [0, 0, 0, 255]}, {"position": 1.0, "color": [255, 255, 255, 255]}]}Gradient data in JSON format
blend_modeCOMBOnormalBlending mode for gradient mapping
opacityFLOAT1.000–1Opacity of the gradient mapping effect
preserve_luminosityBOOLEANfalsePreserve original image luminosity when mapping

Outputs (1)

NameTypeDescription
IMAGEIMAGE