LC Image Split πΌοΈ
The before/after wipe that actually saves the split image
- image_a
- image_b
- split πΌοΈ
Everyone's seen the A|B comparison posts: half the image on one side, half on the other, divider down the middle. That's what this node produces - with the twist that the wipe happens live on the node face, and the output is the baked split you can actually save. If you've ever wanted to show "before" and "after" of a grade, an upscale, or a face fix without screenshotting two windows, this is the fastest way to get there.
How it works
Feed it two images: image_a (left side of the wipe) and image_b (right side). The split_position slider (0β1, default 0.5) controls where the cut lands. The node composites the left of A with the right of B, matching sizes if they differ, and emits one tensor out of the split πΌοΈ output. The frontend keeps both originals in memory so the preview redraws live as you drag the slider - the baked output only refreshes when you run.
Here's where people get burned: dragging the image does nothing. The wipe is slider-only by design. The brief and the node tooltip both say it, but muscle memory from every other wipe node will have you dragging the preview and swearing. Use split_position. That's the whole job.
show_divider (on by default) paints a thin light seam at the cut in the saved output, which makes the "this is a comparison" framing obvious. Turn it off for a clean composite that looks like one image.
Why it's better than the generic alternative
The node's own save behavior is the underrated part. It writes A, B, and the split to temp files with lc.split.* prefixes - which is exactly what you need if the live preview ever falls back to static images. And because it's an OUTPUT_NODE, it'll show up as a finished result you can click to view full size.
Install
Part of ComfyUI LC123 Nodes (MIT). Manager β search "ComfyUI LC123 Nodes", or:
cd ComfyUI/custom_nodes
git clone https://github.com/lonecatone23/ComfyUI_LC123_nodes
Restart. No extra dependencies. On RunningHub or similar, have the platform install the pack for you.
A real workflow
Compare a denoise pass or an upscale: wire the original into image_a, the processed result into image_b, set the wipe at 0.5, run once, and save the split output. It's a two-minute way to make the "look what this node does" image you were going to assemble in GIMP anyway.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image_a | IMAGE | Left side of the wipe. | |
| image_b | IMAGE | Right side of the wipe. | |
| split_position | FLOAT | 0.500β1 | Wipe position 0β1. Adjust with this slider only β dragging the image does not change it. Preview updates live. |
| show_divider | BOOLEAN | true | Thin light seam on the cut in the saved/output image. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| split πΌοΈ | IMAGE | β |