Nodes/ComfyUI-Przewodo-Utils/Swap Two Images in a comparison
ComfyUI Node

Swap Two Images in a comparison

A ComfyUI node in PrzewodoUtils with 5 inputs and 2 outputs.

By przewodo·Created about a year ago·Updated 4 months ago· 4
Swap Two Images in a comparison
  • value_a
  • value_b
  • input_a
  • input_b
  • input_a
  • input_b
comparisona == b
CategoryPrzewodoUtils

Inputs (5)

NameTypeDefaultDescription
value_a*First value for comparison operation. Used as left operand in the comparison
value_b*Second value for comparison operation. Used as right operand in the comparison
comparisonCOMBOa == bComparison operation to evaluate between value_a and value_b. If true, image inputs are swapped
input_aoptIMAGEFirst image input to swap. Will be returned as 'input_b' if comparison is true, otherwise as 'input_a'
input_boptIMAGESecond image input to swap. Will be returned as 'input_a' if comparison is true, otherwise as 'input_b'

Outputs (2)

NameTypeDescription
input_aIMAGE
input_bIMAGE