Visit ComfyUI Online for ready-to-use ComfyUI environment
Powerful image comparison tool for ComfyUI interface, with draggable slider, blend modes, live preview, and difference mask.
The EsesImageCompare node is a powerful tool designed for artists and creators using the ComfyUI interface to visually compare two images. This node allows you to interactively analyze differences between images using a draggable slider, which provides a real-time side-by-side comparison. It supports various blend modes such as difference, lighten, darken, screen, and multiply, enabling advanced visual analysis of image variations. The node also offers a live preview feature, updating the display as you adjust the slider or change blend modes. Additionally, it generates a grayscale difference mask that highlights discrepancies between the two images, which can be useful for further processing or analysis. The node is designed with user convenience in mind, featuring automatic resizing to match the aspect ratio of input images and a "Reset Node Size" button to easily revert to default settings. It also saves the slider position and blend mode with the workflow, ensuring a seamless user experience.
image_a is the primary image input for the comparison process. It serves as the base image over which the comparison is made. This parameter is required and must be provided for the node to function. The image should be in a compatible format that the node can process.
image_b is the secondary image input that is compared against image_a. This parameter is optional, allowing you to perform a comparison only if a second image is available. If provided, it should match the dimensions of image_a to ensure accurate comparison results.
prompt is a hidden parameter used internally for processing and does not require user input. It is part of the node's configuration to handle specific operations within the ComfyUI environment.
extra_pnginfo is another hidden parameter that stores additional metadata related to the images. It is used internally and does not require user interaction.
unique_id is a hidden parameter that uniquely identifies the node instance within the workflow. It is used for internal tracking and synchronization purposes.
blend_mode is a hidden parameter that determines the method of blending the two images during comparison. It offers several options: "normal", "difference", "lighten", "darken", "screen", and "multiply", with "normal" being the default. Each mode provides a different visual effect, allowing for detailed analysis of image differences.
image_a is the output of the primary image after processing. It is returned unchanged, allowing you to use it further in your workflow or for additional comparisons.
diff_mask is a grayscale mask that highlights the differences between image_a and image_b. This output is particularly useful for identifying areas of change or variation between the two images, providing a visual representation of discrepancies that can be used for further analysis or processing.
image_a and image_b do not have matching dimensions, which is necessary for accurate comparison.image_a is not provided, as it is a required input for the node to function.image_a to enable the comparison process. If image_b is not available, the node can still function with just image_a.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.