ComfyUI/comfy_extras
Denys Smirnov ed0c0d1c26 Allow joining a batch of images with a single mask
Previously, JoinImageWithAlpha required a batch of images to match a batch of masks. But for some use cases it's easier to provide a batch of images and a single mask.

This change automatically repeats the mask for all images in a batch.

In the same spirit, PorterDuffImageComposite will now allow a single mask for a batch of images (for both src and dst).

But also, PorterDuffImageComposite will apply the same logic to src and dst: if src contains one image, and dst is a batch it will repeat src to match dst (or the opposite).
2024-05-06 12:33:16 +03:00
..
2024-03-04 00:31:59 -05:00
2023-12-20 16:22:18 -05:00
2024-03-18 16:54:13 -04:00
2024-03-18 16:54:13 -04:00