> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ImageCompare - ComfyUI Built-in Node Documentation

> Complete documentation for the ImageCompare node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ImageCompare/zh.md)

Image Compare 节点提供了一个可视化界面，通过可拖动的滑块并排比较两张图像。它被设计为输出节点，这意味着它不会将数据传递给其他节点，而是直接在用户界面中显示图像以供检查。

## 输入参数

| 参数             | 数据类型         | 必填 | 取值范围 | 描述                 |
| -------------- | ------------ | -- | ---- | ------------------ |
| `image_a`      | IMAGE        | 否  | -    | 要比较的第一张图像。         |
| `image_b`      | IMAGE        | 否  | -    | 要比较的第二张图像。         |
| `compare_view` | IMAGECOMPARE | 是  | -    | 在用户界面中启用滑块比较视图的控件。 |

**注意：** 此节点是一个输出节点。虽然 `image_a` 和 `image_b` 是可选的，但必须至少提供一张图像，节点才能产生可见效果。对于任何未连接的图像输入，节点将显示一个空白区域。

## 输出参数

此节点是一个输出节点，不产生任何可供其他节点使用的数据输出。其功能是在 ComfyUI 界面中显示提供的图像。
