Files
ComfyUI/comfy_extras
Glary-Bot 6a1284e20b Fix ImageBlend node to handle mismatched channel counts
Replace the limited node_helpers.image_alpha_fix call (which only handles
RGB<->RGBA differences by padding by exactly one channel) with the same
generalized channel-padding logic used by the ImageStitch node.

This allows ImageBlend to work with any combination of channel counts
(e.g. 3 vs 4, 3 vs 5, 4 vs 3, etc.) by padding the image with fewer
channels using 1.0s up to the larger channel count. Behavior between
ImageBlend and ImageStitch is now consistent.

Fixes CORE-103.
2026-04-27 06:21:33 +00:00
..
2026-04-06 14:54:02 -07:00