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

# Bound

Resize with maximum size constraints (fit in a box)

Resizes to a given **width** and **height** box and keeps proportions. Similar to [Fit](/dynamic-media-optimization-dmo/transformations/image-optimization/operations/fit.md) but without adding padding. Delivers the resulting image via CDN.

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

## Examples

| Preview                                                                                                                                                                                                             | Syntax                                                                                                                                                                                                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FKG0BTPqm3MwnMiDRkH9u%2Fimage.png?alt=media\&token=692aac9e-2ef8-4b69-93f6-9c5af3aa7724) | [/docs/eiffel\_doc.jpg?<mark style="color:orange;">**width=600**</mark>&<mark style="color:orange;">**height=600**</mark>&<mark style="color:orange;">**func=bound**</mark>](https://fdocs.filerobot.com/docs/eiffel_doc.jpg?width=600\&height=600\&func=bound) |
