Rounded-corner rectangle cropping
Updated at:2025-11-03
Overview
This document explains how to crop images into rounded-corner rectangles.
Rounded-corner rectangle cropping
Action name: rounded-corners
| Parameters | Value | Description |
|---|---|---|
| r | 1-4096 | Specify the radius of the rounded corners. If the given radius r exceeds the original image's width or height, the smaller of the two dimensions will be used by default. |
Example
- Crop a rounded-corner rectangle with a radius of 50.
https://doc.bce.baidu.com/bce-documentation/BOS/image.jpg?x-bce-process=image/rounded-corners,r_50

