ComfyUI Node
Karma Before/After
A ComfyUI node in KarmaNodes/Post-Processing with 13 inputs and 1 output.
Karma Before/After
- before_image
- after_image
- comparison
◄modesplit_horizontal►
◄split_position0.50►
◄divider_width3►
◄divider_colorwhite►
◄show_labelsnone►
◄label_sizemedium►
◄gap_width4►
◄background_colorblack►
◄resize_modematch_before►
◄before_labelBefore►
◄after_labelAfter►
CategoryKarmaNodes/Post-Processing
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| before_image | IMAGE | The 'before' image (left/top in comparisons) | |
| after_image | IMAGE | The 'after' image (right/bottom in comparisons) | |
| mode | COMBO | split_horizontal | Comparison layout mode |
| split_position | FLOAT | 0.500–1 | Position of the split/blend point (0.0 = all before, 1.0 = all after) |
| divider_width | INT | 30–20 | Width of the divider line in pixels (0 = no divider) |
| divider_color | COMBO | white | Color of the split divider line |
| show_labels | COMBO | none | Label style: none, simple text, or outlined text for visibility |
| label_size | COMBO | medium | Size of the before/after labels |
| gap_width | INT | 40–100 | Gap between images in side-by-side mode (pixels) |
| background_color | COMBO | black | Background/gap color |
| resize_mode | COMBO | match_before | How to handle mismatched image sizes |
| before_labelopt | STRING | Before | Custom label for the before image |
| after_labelopt | STRING | After | Custom label for the after image |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| comparison | IMAGE | — |