Visit ComfyUI Online for ready-to-use ComfyUI environment
Effortlessly adjust image aspect ratios for various formats with predefined dimensions using ComfyUI Node CR SDXL Aspect Ratio.
The CR SDXL Aspect Ratio node is designed to help you easily adjust the aspect ratio of your images to fit various predefined dimensions suitable for different use cases, such as social media, printing, or cinematic formats. This node simplifies the process of resizing images by providing a range of standard aspect ratios, ensuring that your images maintain their intended composition and quality. By using this node, you can quickly adapt your artwork to different formats without manually calculating dimensions, making your workflow more efficient and consistent.
The initial width of the image before any aspect ratio adjustments. This parameter sets the base width for the image and is used in conjunction with the height to determine the starting dimensions. The value should be a positive integer representing the number of pixels.
The initial height of the image before any aspect ratio adjustments. This parameter sets the base height for the image and is used in conjunction with the width to determine the starting dimensions. The value should be a positive integer representing the number of pixels.
This parameter allows you to select from a list of predefined aspect ratios, such as "SDXL
A toggle option that, when enabled, swaps the width and height dimensions. This is useful if you need to quickly change the orientation of your image from portrait to landscape or vice versa. The options are typically "On" or "Off".
This parameter determines the factor by which the image dimensions will be increased. It is useful for scaling up images while maintaining the selected aspect ratio. The value should be a positive integer or float, representing the multiplication factor for the dimensions.
Similar to the upscale_factor, this parameter allows you to scale the image dimensions before applying the aspect ratio adjustments. It is useful for pre-scaling images to a desired size before final adjustments. The value should be a positive integer or float.
The number of images to process in a single batch. This parameter is important for workflows that involve generating multiple images at once. The value should be a positive integer.
The adjusted width of the image after applying the selected aspect ratio and any scaling factors. This value represents the final width in pixels.
The adjusted height of the image after applying the selected aspect ratio and any scaling factors. This value represents the final height in pixels.
The final upscale factor applied to the image dimensions. This value is useful for understanding the degree of scaling applied to the original image.
The number of images processed in the batch. This value confirms the batch size used during the processing.
A tensor representing the processed image data. This tensor is used internally for further image processing tasks and is essential for maintaining the quality and integrity of the image.
A URL link to the documentation or help page for the node. This link provides additional information and guidance on using the node effectively.
© Copyright 2024 RunComfy. All Rights Reserved.