Visit ComfyUI Online for ready-to-use ComfyUI environment
Adjust frame dimensions uniformly within a set using specified scaling factor for consistent aspect ratio and distortion prevention.
The "Frame Set Frame Dimensions Scaled" node is designed to adjust the dimensions of frames within a frame set by a specified scaling factor. This node is particularly useful when you need to uniformly resize all frames in a set, either to reduce their size for performance optimization or to increase their size for better visibility or detail. By applying a scaling factor, you can ensure that the aspect ratio of the frames remains consistent, preventing any distortion. This node is essential for tasks that require consistent frame dimensions, such as video processing, animation, and other visual media projects.
This parameter expects a frame set, which is a collection of frames that you want to scale. The frame set contains all the images and their associated metadata, such as dimensions and framerate. The frames parameter is crucial as it provides the source material that will be resized according to the specified scaling factor.
The factor parameter is a floating-point number that determines the scaling factor to be applied to the frame dimensions. A factor of 1.0 means the dimensions will remain unchanged, while a factor less than 1.0 will reduce the dimensions, and a factor greater than 1.0 will increase them. The default value is 1.0, with a minimum value of 0.01 to prevent the frames from becoming too small to be useful. This parameter allows for precise control over the resizing process, ensuring that the frames are scaled to the desired size.
This output parameter represents the new width of the frames after applying the scaling factor. It is an integer value that indicates the resized width, ensuring that all frames in the set have consistent dimensions.
This output parameter represents the new height of the frames after applying the scaling factor. Similar to the width parameter, it is an integer value that indicates the resized height, maintaining the aspect ratio and consistency across all frames in the set.
© Copyright 2024 RunComfy. All Rights Reserved.