Visit ComfyUI Online for ready-to-use ComfyUI environment
Adjust image resolution with multiplier for precise resizing, ideal for AI artists and various applications.
The PrimereResolutionMultiplier node is designed to adjust the resolution of images by applying a multiplier to the original dimensions. This node is particularly useful for AI artists who need to scale their images up or down while maintaining the aspect ratio or adjusting it according to specific requirements. By leveraging this node, you can ensure that your images are resized accurately and efficiently, which is essential for various artistic and technical applications. The node calculates the new dimensions based on a given multiplier, allowing for precise control over the final resolution. This can be especially beneficial when preparing images for different display formats or optimizing them for performance without compromising on quality.
The width of the reference image in pixels. This parameter is crucial as it serves as the base width from which the new dimensions will be calculated. The value should be a positive integer representing the width in pixels.
The height of the reference image in pixels. Similar to the ref_width, this parameter is essential for determining the base height for the resizing calculations. The value should be a positive integer representing the height in pixels.
The target resolution in megapixels (MPX) to which the image should be resized. This parameter defines the desired resolution and directly influences the scaling factor applied to the original dimensions. The value should be a positive floating-point number representing the target resolution in MPX.
A boolean parameter that determines whether the aspect ratio of the slave image should be maintained during resizing. If set to True, the aspect ratio will be preserved; if False, the slave image will be resized to match the reference image's dimensions. This parameter is crucial for ensuring that the resized image meets specific aspect ratio requirements.
The width of the slave image in pixels. This parameter is used in conjunction with the keep_slave_ratio parameter to determine the new dimensions of the slave image. The value should be a positive integer representing the width in pixels.
The height of the slave image in pixels. Similar to the slave_width, this parameter is used to calculate the new dimensions of the slave image based on the specified resizing rules. The value should be a positive integer representing the height in pixels.
The new width of the reference image after applying the resolution multiplier. This output provides the resized width in pixels, ensuring that the image meets the target resolution requirements.
The new height of the reference image after applying the resolution multiplier. This output provides the resized height in pixels, ensuring that the image meets the target resolution requirements.
The new width of the slave image after applying the resolution multiplier and considering the aspect ratio settings. This output provides the resized width in pixels, ensuring that the image meets the target resolution and aspect ratio requirements.
The new height of the slave image after applying the resolution multiplier and considering the aspect ratio settings. This output provides the resized height in pixels, ensuring that the image meets the target resolution and aspect ratio requirements.
© Copyright 2024 RunComfy. All Rights Reserved.