get image data

get_image_data

EN/English: Obtain image size data including batch count, height, width, channels and shape information. If both image and mask are input at the same time, image data will be prioritized for output. Output description: "images","masks": Input images and masks "N","H","W","C": Batch count/Height/Width/Channels of the image "shape": Complete array information of count/size/channels 中文/Chinese: 获取图像尺寸数据 若同时输入image和mask,会优先输出image数据 输出说明: "images","masks":输入的图像和遮罩 "N","H","W","C":图像的批次/高度/宽度/通道数 "shape":图像的完整数量/尺寸/通道数组信息

Pack: ComfyUI-WJNodes

custom_nodes.ComfyUI-WJNodes

Inputs (2)

NameTypeRequired
imagesIMAGEoptional
masksMASKoptional

Outputs (7)

NameType
imagesIMAGE
masksMASK
NINT
HINT
WINT
CINT
shapeLIST