Global Variable

kCIInputEnableVendorLensCorrectionKey

A key for whether to automatically correct for image distortion from known lenses.

Declaration

const CIRAWFilterOption kCIInputEnableVendorLensCorrectionKey;

Discussion

The value for this key is a NSNumber object containing a Boolean value. If this value is YES, or if this option is not specified but the image contains metadata for lens distortion parameters, Core Image corrects for lens distortion.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software