Crop Image By Mask

CropImageByMask

Crops an image based on its mask, keeping only areas with black pixels (0.0) in the mask and excluding white pixels (1.0).

Pack: ComfyUI LoadImageWithFilename

custom_nodes.ComfyUI-LoadImageWithFilename

Inputs (2)

NameTypeRequired
imageIMAGErequired
maskMASKrequired

Outputs (2)

NameType
imageIMAGE
maskMASK