---
title: level
framework: coreimage
role: symbol
role_heading: Type Property
path: coreimage/ciimageautoadjustmentoption/level
---

# level

A key used to specify whether to return a filter that rotates the image to keep a level perspective.

## Declaration

```swift
static let level: CIImageAutoAdjustmentOption
```

## Discussion

Discussion The value associated with this key is a CFBoolean value. If true, Core Image analyzes the image to determine whether it would benefit from rotation—for example, a landscape photo in which the horizon is not horizontal—and returns a filter to perform that rotation. Supply false to indicate not to return a rotation filter. If you don’t specify this option, Core Image assumes its value is false.

## See Also

### Type Properties

- [crop](coreimage/ciimageautoadjustmentoption/crop.md)
- [enhance](coreimage/ciimageautoadjustmentoption/enhance.md)
- [features](coreimage/ciimageautoadjustmentoption/features.md)
- [redEye](coreimage/ciimageautoadjustmentoption/redeye.md)
