# ee.Image.clamp

Clamps the values in all bands of an image to all lie within the specified range.

<br />

| Usage | Returns |
|---|---|
| `Image.clamp(low, high)` | Image |

| Argument | Type | Details |
|---|---|---|
| this: `input` | Image | The image to clamp. |
| `low` | Float | The minimum allowed value in the range. |
| `high` | Float | The maximum allowed value in the range. |