简易图像对比 (Simple Image Compare)
A slider to eyeball two images against each other, right on the canvas
- image_a
- image_b
The author's own description is one line: compare two images via a slider. That's the entire node - no graph outputs, nothing downstream to wire. It's a terminal display node that drops a draggable before/after comparison widget straight onto your canvas.
Why you'd want this
Eyeballing "did that change actually help" is most of what iteration in ComfyUI looks like - before vs. after a LoRA, original vs. upscaled, one sampler against another, a VAE Image Batch Fix'd output against the raw one. Doing that by flipping between two separate Preview Image nodes, or opening two files side by side outside ComfyUI, works but breaks your flow. A slider comparator does it in place: drag across the image and watch exactly where the two versions diverge, without leaving the graph.
If you've used rgthree-comfy's well-known Image Comparer node, this is the same basic idea, built independently here for the same reason - it's a genuinely common utility-node pattern because the need (put two images next to each other and actually see the difference) comes up constantly, in every kind of workflow.
How it works
Both image inputs are optional, and there's nothing else to configure - no required fields at all. Wire an image into image_a, another into image_b, and the node renders its slider comparison on the canvas when the workflow runs. As an output node with zero declared outputs, nothing flows onward from it; its entire job is the on-canvas display.
The inputs and outputs that matter
image_a(optional, IMAGE) - the first image, typically your "before" or baseline.image_b(optional, IMAGE) - the second image, typically your "after" or comparison.- No outputs - this is a dead end in the graph by design, purely for visual inspection.
How to install it
ComfyUI Manager: search "ComfyUI-Danbooru-Gallery", install, restart. Manual:
cd ComfyUI/custom_nodes
git clone https://github.com/Aaalice233/ComfyUI-Danbooru-Gallery.git
cd ComfyUI-Danbooru-Gallery
pip install -r requirements.txt
Restart ComfyUI. No models or heavy dependencies - a pure display node.
Common issues & troubleshooting
Slider doesn't render, node just shows blank. This pack's UI widgets load via a separate frontend extension from the Python node registration, so check the ComfyUI startup console confirms the WEB_DIRECTORY registered correctly, and try a hard browser cache clear and refresh - the same fix the pack's own FAQ points to for its other panel-driven nodes.
Only one image shows, or the comparison looks static. Both inputs are optional, so if only one is wired, there's nothing to slide between - confirm both image_a and image_b are actually connected before assuming the widget is broken.
Node doesn't appear in the menu. Standard pack-load check: confirm the repo path is ComfyUI/custom_nodes/ComfyUI-Danbooru-Gallery, confirm dependencies installed cleanly, and check the console for an import error on restart.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image_aopt | IMAGE | — | |
| image_bopt | IMAGE | — |
Outputs (0)
No outputs