ComfyUI Node
RC Gradient Map
Apply gradient mapping to image based on luminosity values
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image to apply gradient mapping | |
| gradient_data | STRING | {"stops": [{"position": 0.0, "color": [0, 0, 0, 255]}, {"position": 1.0, "color": [255, 255, 255, 255]}]} | Gradient data in JSON format |
| blend_mode | COMBO | normal | Blending mode for gradient mapping |
| opacity | FLOAT | 1.000–1 | Opacity of the gradient mapping effect |
| preserve_luminosity | BOOLEAN | false | Preserve original image luminosity when mapping |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |