Closed huchenlei closed 8 months ago
Thanks, this is more flexible. Since Comfy added "Join Image With Alpha" this node isn't strictly needed, but I guess I'll keep it around as some things are more convenient and don't require extra steps.
Checking out layer diffusion now :)
Before,
ApplyMaskToImage
was assuming that mask has batch size == 1. This PR makeApplyMaskToImage
able to handle the task of applying N masks to N images.This behaviour is necessary in https://github.com/huchenlei/ComfyUI-layerdiffusion as LayerDiffusionDecode outputs multiple masks.
Related PR: https://github.com/huchenlei/ComfyUI-layerdiffusion/pull/4