ComfyUI/comfy_extras
shawnington 1df031d82b
resolved issue with black and white images in nodes_mask.py
Nodes that use the composite function accept both bw and rgb images. Both formats correctly display in the image preview node, however, the formats have transposed HW and incompatible C dimensions, even though they are both accepted as inputs. 

This change introduces a function that converts black and white inputs to rgb so that composite operations do not unexpectedly fail while the image preview displays an image successfully.
2024-07-25 19:46:04 -04:00
..
2024-05-27 19:08:27 -04:00
2024-06-20 08:12:15 -04:00
2023-12-20 16:22:18 -05:00
2024-05-27 19:08:27 -04:00
2024-05-27 19:08:27 -04:00
2024-03-18 16:54:13 -04:00
2024-03-18 16:54:13 -04:00
2024-05-17 13:16:08 -04:00