Get Mask Size & Count

GetMaskSizeAndCount

Returns the width, height and batch size of the mask, and passes it through unchanged.

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (1)

NameTypeRequired
maskMASKrequired

Outputs (4)

NameType
maskMASK
widthINT
heightINT
countINT