Image Comparer MXD
A/B your images and save the winner in one node
- original_image
- new_image (displayed first)
- images
The most asked-for thing in image iteration is a way to see the new result against the old one and save whichever wins - without the preview, then the save, then the file management. Image Comparer + Save MXD is the pack's flagship version of that idea (the README lists it first in "Featured Nodes"): it shows your new image and your original side by side with a slider, passes both along, and saves only the new one. "new image displays first and is the only image saved" - that's the design in one line.
The three modes
The mode dropdown decides what actually happens when you queue:
- Save (New Img) + Preview (default) - saves the new image and shows the compare.
- Save (New Img) Only - saves without the preview clutter.
- Preview Only - look, don't commit. Great for iterating without filling your output folder.
Inputs: original_image (optional) and new_image (displayed first) (optional - the input name is the author being clear about what's shown where). filename_prefix defaults to ComfyUI. Output is images, so you can keep the new one flowing into another node even though this is a terminal/save-style node.
How saving works
When both images are present, the node appends a suffix: the new image saves as <prefix>_new, the original as <prefix>_original (it's previewed but not written to your main outputs in save mode - the new image is the only one saved, per the description). The author's tooltip: "A suffix is added when both images are present." So single-image runs get the clean filename, compare runs get distinguishable ones. That's a thoughtful touch - you always know which file is which when you look in your output folder later.
Why you'll keep it in your graph
It's the same rgthree-borrowed idea that made image A/B a standard ComfyUI habit, but tightened: compare and save are one node, so there's no dangling save node to forget when you're just testing. Wire the original from your input loader and the new from your sampler, set it to Preview Only while you're dialing in, flip to Save + Preview when you've got a keeper. One node, zero clutter.
Install
ComfyUI Manager → search Maxed Out → install → restart, or:
cd ComfyUI/custom_nodes
git clone https://github.com/Maxed-Out-99/ComfyUI-MaxedOut
No requirements.txt, no model downloads. It sits at the top level of the MXD category. If your current loop is "save image, open the file, compare to the last one," this is the upgrade that collapses three steps into one.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | Save (New Img) + Preview | Choose whether to save the new image or preview only. |
| filename_prefix | STRING | ComfyUI | Base prefix for saved files. A suffix is added when both images are present. |
| original_imageopt | IMAGE | Original image for comparison. Shown on slide. | |
| new_image (displayed first)opt | IMAGE | New image to compare/save. Displayed first. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |