Type Property

enableVendorLensCorrection

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

Declaration

static let enableVendorLensCorrection: CIRAWFilterOption

Discussion

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