ComfyUI Node

RC Curves

Photoshop-style curves adjustment supporting RGB and individual channels.

By kj863257·Created 11 months ago·Updated 9 months ago· 16
RC Curves
  • image
  • IMAGE
curve_data{"channels": {"RGB": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "R": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "G": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "B": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "A": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}]}, "active_channel": "RGB", "editor": "RC_CurvesAdjust", "version": 1}
mix1.00
apply_alphafalse
CategoryRC/Adjustments

Inputs (4)

NameTypeDefaultDescription
imageIMAGE
curve_dataSTRING{"channels": {"RGB": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "R": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "G": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "B": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}], "A": [{"x": 0.0, "y": 0.0}, {"x": 1.0, "y": 1.0}]}, "active_channel": "RGB", "editor": "RC_CurvesAdjust", "version": 1}Curve data in JSON format. Use the curve editor widget to modify points.
mixFLOAT1.000–1Blend factor between original (0) and adjusted image (1).
apply_alphaBOOLEANfalseApply combined/alpha curves to the alpha channel when available.

Outputs (1)

NameTypeDescription
IMAGEIMAGE