<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIImageOption/applyCleanAperture",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Image",
      "CoreImage"
    ],
    "preciseIdentifier" : "c:@kCIImageApplyCleanAperture"
  },
  "title" : "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.

```
static let applyCleanAperture: CIImageOption
```

## 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`](/documentation/CoreImage/CIVector) : then use it as a `CGRect` to crop and offset.
- Not specified : then it will behave as if False was specified.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)