Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The GetImageSize node extracts the dimensions and batch information from an input image. It returns the width, height, and batch size of the image while also displaying this information as progress text on the node interface. The original image data passes through unchanged.

Inputs

ParameterData TypeRequiredRangeDescription
imageIMAGEYes-The input image from which to extract size information
unique_idUNIQUE_IDNo-Internal identifier used for displaying progress information

Outputs

Output NameData TypeDescription
widthINTThe width of the input image in pixels
heightINTThe height of the input image in pixels
batch_sizeINTThe number of images in the batch