Visit ComfyUI Online for ready-to-use ComfyUI environment
Node for specifying image dimensions with precision, aiding AI artists in setting resolution for various outputs.
The Width_Height Literal (Image Saver) node is designed to provide a straightforward way to specify the dimensions of an image in terms of width and height. This node is particularly useful for AI artists who need to define the resolution of their generated images with precision. By using this node, you can easily set the desired width and height values, ensuring that your images are created at the exact resolution you need. This can be especially beneficial when working with different models or when preparing images for specific outputs, such as prints or digital displays. The node simplifies the process of setting image dimensions, making it accessible even for those without a deep technical background.
This parameter allows you to specify the integer value for either the width or height of the image. The function of this parameter is to define the resolution of the image in pixels. The minimum value you can set is 1, ensuring that the image has at least one pixel in width or height. The maximum value is determined by the constant MAX_RESOLUTION
, which ensures that the image does not exceed the maximum allowable resolution. The default value is set to 512 pixels, which is a common resolution for many image generation tasks. Adjusting this parameter will directly impact the size and quality of the generated image.
The output parameter of this node is an integer value that represents the specified width or height of the image. This value is crucial as it determines the resolution of the generated image. By setting this parameter, you ensure that the image is created with the exact dimensions you need, which can be important for various applications, such as ensuring compatibility with different display devices or meeting specific project requirements.
MAX_RESOLUTION
limit.© Copyright 2024 RunComfy. All Rights Reserved.