kCIImageApplyCleanAperture

Static kCIImageApplyCleanAperture 

Source
pub unsafe static kCIImageApplyCleanAperture: &'static CIImageOption
Available on crate feature CIImage only.
Expand description

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

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.

See also Apple’s documentation