Visit ComfyUI Online for ready-to-use ComfyUI environment
Crop images with rounded corners, customizable radius and corner selection, supports SSAA for smooth results, ideal for AI artists.
The ImageTransformCropCorners
node is designed to crop images by rounding the corners based on specified parameters. This node is particularly useful for creating images with rounded corners, which can add a polished and professional look to your artwork. By adjusting the radius and selecting which corners to round, you can achieve a variety of visual effects. The node also supports Super-Sampling Anti-Aliasing (SSAA) to enhance the quality of the rounded corners, ensuring smooth and visually appealing results. This node is ideal for AI artists looking to add a unique touch to their images by manipulating the corner shapes.
This parameter accepts a batch of images that you want to process. Each image in the batch will be subjected to the same corner cropping and rounding operations. The images should be in a tensor format.
The radius
parameter determines the curvature of the rounded corners. A larger radius will result in more pronounced rounding, while a smaller radius will produce subtler curves. The value should be a positive integer.
This boolean parameter specifies whether the top-left corner of the image should be rounded. Set it to "true"
to round the corner or "false"
to keep it sharp.
This boolean parameter specifies whether the top-right corner of the image should be rounded. Set it to "true"
to round the corner or "false"
to keep it sharp.
This boolean parameter specifies whether the bottom-right corner of the image should be rounded. Set it to "true"
to round the corner or "false"
to keep it sharp.
This boolean parameter specifies whether the bottom-left corner of the image should be rounded. Set it to "true"
to round the corner or "false"
to keep it sharp.
The SSAA
parameter stands for Super-Sampling Anti-Aliasing. It is used to improve the quality of the rounded corners by rendering the image at a higher resolution and then downscaling it. A higher SSAA value will result in smoother corners but will require more computational resources.
The method
parameter specifies the resampling method to be used when resizing the image. Options include "lanczos"
, "bicubic"
, "hamming"
, "bilinear"
, "box"
, and "nearest"
. Each method has its own characteristics in terms of quality and performance.
The output is a batch of images with the specified corners rounded. The images are returned in a tensor format, ready for further processing or saving. The rounded corners will have a smooth, anti-aliased appearance if SSAA is used.
lanczos
and bicubic
generally provide higher quality results.method
parameter is set to one of the following: "lanczos"
, "bicubic"
, "hamming"
, "bilinear"
, "box"
, or "nearest"
.© Copyright 2024 RunComfy. All Rights Reserved.