Visit ComfyUI Online for ready-to-use ComfyUI environment
Extract image dimensions for AI artists, ensuring accurate resizing and cropping.
The Get Image Size (JPS) node is designed to extract the dimensions of an image, specifically its width and height. This node is particularly useful for AI artists who need to work with images of various sizes and require precise dimension information for further processing or analysis. By providing the exact width and height of an image, this node helps in ensuring that subsequent image manipulations, such as resizing or cropping, are performed accurately. The main goal of this node is to facilitate the handling of image dimensions in a straightforward and efficient manner, making it an essential tool for tasks that involve image processing.
The image
parameter is the only required input for this node. It represents the image whose dimensions you want to retrieve. The image should be provided in a format that the node can process, typically as an image tensor. This parameter is crucial as it directly influences the output values, which are the width and height of the image. There are no specific minimum, maximum, or default values for this parameter, but it must be a valid image for the node to function correctly.
The width
output parameter represents the width of the input image in pixels. This value is essential for understanding the horizontal dimension of the image and is often used in conjunction with the height to determine the aspect ratio or to perform further image processing tasks.
The height
output parameter represents the height of the input image in pixels. This value is crucial for understanding the vertical dimension of the image and, like the width, is used to determine the aspect ratio or for further image processing tasks.
© Copyright 2024 RunComfy. All Rights Reserved.