Files
ausboss-ComfyUI-AusBoss/js/docs/AUSBOSS_NODES_Compare.md
T
ausboss c8099952e5 Clear the compare panel, and make the example workflow shippable
Image Compare A/B drew a chip over the top-left of the picture carrying the
resolution and a hint about how to use the panel - covering part of what you
came to look at in order to say something you need once. The resolution moved
to a caption centred under the stage, and when the two sides are different
sizes both are named there: the panel scales them to fit, so nothing else on
screen would reveal the mismatch. The empty and error states still take the
middle of the stage, where there is no picture to hide.

HOLD became an A/B toggle. Press-and-hold meant the comparison only existed
while a mouse button was down, so the two images could never be held side by
side in memory. Each click now swaps the panel and the button names the side
you are looking at; flicking between them in place is how a small difference
actually becomes visible. A workflow saved on "hold" opens on the toggle it
became rather than quietly dropping back to slide.

The example workflow was stale in ways that would have shipped to Civitai:
its overview credited SimpleWatermarkRemover - the deprecated compatibility
id, not the node the graph actually uses - still called the node Refine Mask,
and linked to github.com/auboss, which does not exist. It gained model-setup
and requirements sections, consistent node titles, and the mask settings its
single-frame test was missing: that path shipped with every Mask Refine
control at zero, so the frame it previewed was not the result the full run
would produce, which is the one thing that test exists to show.
2026-08-18 16:59:44 -05:00

1.5 KiB

Image Compare A/B

Shows two images on one panel so differences pop out instead of hiding in a side-by-side. The first frame of each batch is previewed; image_a passes through the output unchanged, so the node can sit in the middle of a graph without breaking anything downstream.

Inputs

  • image_a: The baseline batch. Its first frame is preview A, and the whole batch is what the output carries.
  • image_b: The comparison batch. Its first frame is preview B.

Panel

Run the workflow once to load the previews, then compare:

  • SLIDE (default): move the pointer across the panel. B is revealed up to the pointer with a thin seam marking the split.
  • A / B: a toggle. Each click swaps the whole panel between the two, and the button's label says which one you are looking at. Clicking it from slide mode selects it and lands on B, since seeing the other one is the reason to reach for it. Flicking back and forth in place is the way to catch a small change; the eye spots it far better than a moving seam does.

The chosen mode is stored with the node. Nothing is drawn over the picture — the compared resolution sits in a caption centred beneath the panel, and if the two sides are different sizes both are named there, since the panel scales them to fit and nothing else on screen would reveal it.

Output

  • image_a: The image_a batch, untouched.

Previews are written to ComfyUI's temp folder and vanish with it; nothing is saved to the output folder and no network requests are made.