Nodes/ComfyUI-PadToSquare/Crop Image By Mask (PadToSquare)
ComfyUI Node

Crop Image By Mask (PadToSquare)

Crops an image to the bounding box of a mask, scaling the box if the mask and image sizes differ.

By fraudrice·Created 9 days ago·Updated 9 days ago· 0
Crop Image By Mask (PadToSquare)
  • image
  • mask
  • image
Categoryimage/transform

Inputs (2)

NameTypeDefaultDescription
imageIMAGE—
maskMASK—

Outputs (1)

NameTypeDescription
imageIMAGEThe image cropped to the area where the mask is above 0.5.