ComfyUI Node
RC Image Compositor (Complete)
Base compositor with Photoshop-compatible blend modes, positioning, scaling, rotation, and opacity.
RC Image Compositor (Complete)
- overlay
- background
- IMAGE
◄x_percent100►
◄y_percent0►
◄x_alignfrom_right►
◄y_alignfrom_top►
◄x_offset50►
◄y_offset50►
◄scale_moderelative_to_background_width►
◄scale0.30►
◄rotation0►
◄opacity0.70►
◄blend_modenormal►
◄flip_hfalse►
◄flip_vfalse►
◄blend_if_data{"channel": "gray", "this_layer": {"black": [0.0, 0.0], "white": [1.0, 1.0]}, "underlying_layer": {"black": [0.0, 0.0], "white": [1.0, 1.0]}}►
CategoryRC/Image
Inputs (16)
| Name | Type | Default | Description |
|---|---|---|---|
| overlay | IMAGE | — | |
| x_percent | INT | 1000–100 | Horizontal percentage (0=left, 50=center, 100=right) |
| y_percent | INT | 00–100 | Vertical percentage (0=top, 50=center, 100=bottom) |
| x_align | COMBO | from_right | Horizontal alignment: - from_left: Calculate offset from left - from_right: Calculate offset from right (enables tight right alignment) |
| y_align | COMBO | from_top | Vertical alignment: - from_top: Calculate offset from top - from_bottom: Calculate offset from bottom (enables tight bottom alignment) |
| x_offset | INT | 50-10000–10000 | Horizontal offset pixels, can be negative (use with alignment) |
| y_offset | INT | 50-10000–10000 | Vertical offset pixels, can be negative (use with alignment) |
| scale_mode | COMBO | relative_to_background_width | Scaling mode: - relative_to_overlay: scale by overlay's size - relative_to_background_width: width = scale × bg width - relative_to_background_height: height = scale × bg height |
| scale | FLOAT | 0.300.01–10 | Scale factor, reference depends on 'scale_mode' |
| rotation | FLOAT | 0-180–180 | Rotation angle in degrees |
| opacity | FLOAT | 0.700–1 | Opacity (0=transparent, 1=opaque) |
| blend_mode | COMBO | normal | Complete Photoshop Blend Modes: normal: Normal - Direct overlay darken: Darken - Select darker pixels multiply: Multiply - Colors multiply to darken color_burn: Color Burn - Darken with increased contrast linear_burn: Linear Burn - Linear darkening lighten: Lighten - Select brighter pixels screen: Screen - Inverse multiply to lighten color_dodge: Color Dodge - Lighten with reduced contrast linear_dodge: Linear Dodge - Direct addition to lighten overlay: Overlay - Combines multiply and screen soft_light: Soft Light - Gentle contrast enhancement hard_light: Hard Light - Strong contrast enhancement vivid_light: Vivid Light - Extreme contrast effect linear_light: Linear Light - Linear contrast adjustment pin_light: Pin Light - Replace colors based on brightness hard_mix: Hard Mix - Creates solid color results difference: Difference - Absolute difference of colors exclusion: Exclusion - Softer difference effect subtract: Subtract - Direct color subtraction divide: Divide - Color division operation hue: Hue - Change only hue, keep saturation & lightness saturation: Saturation - Change only saturation color: Color - Change hue & saturation, keep lightness luminosity: Luminosity - Change only lightness |
| flip_h | BOOLEAN | false | Flip horizontally |
| flip_v | BOOLEAN | false | Flip vertically |
| blend_if_data | STRING | {"channel": "gray", "this_layer": {"black": [0.0, 0.0], "white": [1.0, 1.0]}, "underlying_layer": {"black": [0.0, 0.0], "white": [1.0, 1.0]}} | Blend color band settings (JSON format) |
| backgroundopt | IMAGE | Background image. If not provided, creates transparent background matching overlay size |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |