---
title: max
framework: accelerate
role: symbol
role_heading: Instance Property
path: accelerate/vimagechanneldescription/max
---

# max

The maximum encoded value.

## Declaration

```swift
var max: CGFloat
```

## Discussion

Discussion The vImage library clamps values greater than the maximum to the maximum.

## See Also

### Instance properties

- [min](accelerate/vimagechanneldescription/min.md)
- [zero](accelerate/vimagechanneldescription/zero.md)
- [full](accelerate/vimagechanneldescription/full.md)
