# Rounded corners

Rounds the corners of images with a radius of X pixels. If you wish to fill the cut corners with a specific colour, you can use the **bg\_color** parameter.

<mark style="color:orange;">**radius=X**</mark>

## Examples

| Preview                                                                                                                                                                                                             | Syntax                                                                                                                                                                                                                                                                                                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ![](https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FS9JKmyZ9xDW3kK2wxtyQ%2Fimage.png?alt=media\&token=f7e6b522-c80c-4a63-b573-6b45d40ccdd9) | <p>Transparent corners (default, if the formats supports transparency):<br><a href="https://fdocs.filerobot.com/docs/flat2.jpg?w=400&#x26;radius=25&#x26;force_format=png">/docs/flat2.jpg?<mark style="color:orange;"><strong>w=400</strong></mark>&<mark style="color:orange;"><strong>radius=25</strong></mark>&<mark style="color:orange;"><strong>force\_format=png</strong></mark></a></p> |
| ![](https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2F9p11va0flw2lceHLfPh1%2Fimage.png?alt=media\&token=eef461f2-60c9-4957-936a-f27da1c54980) | <p>Solid color corners:<br><a href="https://fdocs.filerobot.com/docs/car1.jpg?w=400&#x26;radius=25&#x26;bg_color=cccc30">/docs/car1.jpg?<mark style="color:orange;"><strong>w=400</strong></mark>&<mark style="color:orange;"><strong>radius=25</strong></mark>&<mark style="color:orange;"><strong>bg\_color=cccc30</strong></mark></a></p>                                                     |
