> For the complete documentation index, see [llms.txt](https://docs.cloudimage.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudimage.io/transformations/image-operations/cover.md).

# Cover

Resizes the image to a specified **width** and **height** without keeping the original proportions and delivers the resulting image via CDN.

<mark style="color:orange;">**func=cover**</mark>

{% hint style="info" %}
The **cover** resize function does not keep proportions and might distort your original image. This mode should be used carefully.
{% endhint %}

## Examples

| Preview                          | Syntax                                                                                                                                                                                                                                                                                     |
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ![](/files/AjiY704VVVdh3kEKH03s) | [/samples.scaleflex.com/tesla.jpg?<mark style="color:orange;">**width=400**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/tesla.jpg?width=400)                                                                                                                             |
| ![](/files/vfVyWeJYX82ln36eaUEK) | [/samples.scaleflex.com/tesla.jpg?<mark style="color:orange;">**width=400**</mark>&<mark style="color:orange;">**height=400**</mark>&<mark style="color:orange;">**func=cover**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/tesla.jpg?width=400\&height=400\&func=cover) |
