Visit ComfyUI Online for ready-to-use ComfyUI environment
Obtain image dimensions easily for scaling and adjustments.
The easy imageSize
node is designed to provide you with the dimensions of an image, specifically its width and height. This node is particularly useful when you need to know the exact size of an image for further processing or adjustments. By extracting the width and height, you can make informed decisions about scaling, cropping, or other image manipulations. This node simplifies the process of obtaining image dimensions, making it accessible even if you don't have a technical background.
The image
parameter is the only required input for this node. It accepts an image in the format of ("IMAGE",)
. This parameter represents the image whose dimensions you want to retrieve. The node will process this image to extract its width and height. There are no specific minimum, maximum, or default values for this parameter, as it simply requires an image to function.
The width_int
output parameter provides the width of the input image in integer format. This value represents the number of pixels along the horizontal axis of the image. Understanding the width is crucial for tasks that involve resizing or aligning images.
The height_int
output parameter provides the height of the input image in integer format. This value represents the number of pixels along the vertical axis of the image. Knowing the height is essential for operations that require precise image dimensions, such as cropping or fitting the image into a specific aspect ratio.
easy imageSize
node to quickly determine the dimensions of an image before performing any resizing or cropping operations. This ensures that you maintain the aspect ratio and avoid distortion.image
parameter is a valid image. Check the format and try again.© Copyright 2024 RunComfy. All Rights Reserved.