Visit ComfyUI Online for ready-to-use ComfyUI environment
Comprehensive 2D transformation node for image manipulation with translation, rotation, scaling, and skewing capabilities.
The NukeTransform node is designed to provide comprehensive 2D transformation capabilities, replicating the functionality of Nuke's transform tools. This node allows you to manipulate images through translation, rotation, scaling, and skewing, offering a versatile approach to geometric transformations. By adjusting these parameters, you can achieve precise control over the positioning and orientation of your images, making it an essential tool for tasks that require image alignment, perspective correction, or creative effects. The node's integration with the ComfyUI framework ensures that these transformations are applied efficiently, leveraging the power of libraries like NumPy and PyTorch to handle complex calculations. This makes NukeTransform a powerful asset for AI artists looking to enhance their visual projects with dynamic and flexible image manipulation.
The image parameter is the input image that you wish to transform. It serves as the base upon which all transformations will be applied. This parameter is crucial as it determines the starting point for all subsequent manipulations.
The translate_x parameter controls the horizontal movement of the image. By adjusting this value, you can shift the image left or right. The default value is 0.0, with a range from -2048.0 to 2048.0, allowing for significant lateral adjustments.
The translate_y parameter manages the vertical movement of the image. It allows you to move the image up or down. Like translate_x, it has a default value of 0.0 and a range from -2048.0 to 2048.0, providing ample flexibility for vertical positioning.
The rotate parameter specifies the angle of rotation for the image, measured in degrees. This allows you to rotate the image around its center point. The default is 0.0 degrees, with a range from -360.0 to 360.0, enabling full circular rotation.
The scale_x parameter determines the horizontal scaling factor of the image. A value of 1.0 means no scaling, while values greater than 1.0 enlarge the image and values less than 1.0 reduce its size. The range is from 0.001 to 10.0, with a default of 1.0.
The scale_y parameter controls the vertical scaling factor of the image, similar to scale_x. It allows you to adjust the image's height, with a default value of 1.0 and a range from 0.001 to 10.0.
The skew_x parameter introduces a horizontal skew to the image, altering its shape by slanting it along the x-axis. The default value is 0.0, with a range from -45.0 to 45.0 degrees, providing subtle to moderate skewing effects.
The skew_y parameter applies a vertical skew to the image, slanting it along the y-axis. This parameter also has a default of 0.0 and a range from -45.0 to 45.0 degrees, allowing for controlled vertical distortion.
The center_x parameter sets the horizontal center point for transformations, expressed as a fraction of the image width. The default is 0.5, with a range from 0.0 to 1.0, enabling you to define the pivot point for rotations and scalings.
The center_y parameter defines the vertical center point for transformations, expressed as a fraction of the image height. Like center_x, it has a default of 0.5 and a range from 0.0 to 1.0, allowing for precise control over the transformation pivot.
The filter parameter determines the type of filtering applied during transformations to maintain image quality. This parameter ensures that the transformed image retains its visual fidelity, though specific filter options are not detailed in the context.
The IMAGE output parameter represents the transformed image after all specified manipulations have been applied. This output is crucial as it provides the final visual result of the transformation process, ready for further use or integration into your projects.
translate_x, translate_y, rotate, scale_x, and scale_y, and gradually increase them to reach the desired effect.center_x and center_y parameters to set the pivot point for rotations and scalings, which can help in achieving more natural and visually appealing transformations.skew_x and skew_y parameters to create dynamic and creative effects, but be cautious of over-skewing, which can lead to unnatural distortions.filter parameter to apply appropriate filtering techniques that help maintain image quality during transformations.rotate parameter is set unintentionally or if the center_x and center_y parameters are not correctly configured.rotate parameter value and ensure the center parameters are set to the intended pivot point for rotation.RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.