Contents

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

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 : then use it as a CGRect to crop and offset.

  • Not specified : then it will behave as if False was specified.