This feature allows you to save an image in a rounded oblong shape and specify the rounded corner size.
This table provides the description and values for parameters for the
|r||Radius of the cropped rounded corner of an image.||[1, 4096] The radius of the largest rounded corner cannot exceed half of the shorter side of the source image.|
- If the final format of the image is PNG, WebP, or BMP, and supports transparent channels, the area of the image outside the circular area is transparent. If the final format of the image is JPG, the area of the image outside the circular area is white. The PNG format is recommended.
- If the specified radius is greater than the radius of the largest incircle of the source image, the circle is still the largest incircle of the source image.
- Crop an image with the radius of the cropped rounded corner being 30, and save the cropped image as JPG.
- Crop an image to 100x100 in size, and save the image as PNG with the radius of the rounded corner being 10.