---
title: applyCleanAperture
framework: coreimage
role: symbol
role_heading: Type Property
path: coreimage/ciimageoption/applycleanaperture
---

# applyCleanAperture

A Boolean value to control whether an image created with a CVPixelBuffer or an IOSurface should be cropped and offset according clean aperture attachments.

## Declaration

```swift
static let applyCleanAperture: CIImageOption
```

## Discussion

Discussion For a CVPixelBuffer this will use kCVImageBufferPreferredCleanApertureKey or kCVImageBufferCleanApertureKey. If the value for this option is: True: then image will be cropped and offset to the clean aperture. False: then the full image is returned. CIVector : then use it as a CGRect to crop and offset. Not specified : then it will behave as if False was specified.
