Type Property

applyOrientationProperty

The key for transforming an image according to orientation metadata.

Declaration

static let applyOrientationProperty: CIImageOption

Discussion

Images can contain metadata that reveals the orientation at capture time. You can load this metadata into CIImage with imageWithContentsOfURL: or init(data:) when the captured image contains orientation metadata. Use any of the initWith:options: methods if the properties (NSDictionary of metadata properties) option is also provided.

If the value of this key is true, then calls to imageWithContentsOfURL:options: and imageWithData:options: will return the image transformed according to its orientation metadata.

See Also

Image Dictionary Keys

static let colorSpace: CIImageOption

The key for a color space.

static let properties: CIImageOption

The key for image metadata properties.

static let textureTarget: CIImageOption

The key for an OpenGL texture target.

Deprecated
static let textureFormat: CIImageOption

The key for an OpenGL texture format.

Deprecated
static let nearestSampling: CIImageOption

The key into the properties dictionary to indicate whether to use nearest-neighbor sampling.

static let auxiliaryDepth: CIImageOption

The key into the properties dictionary indicating whether to return an auxiliary depth image.

static let auxiliaryDisparity: CIImageOption

The key into the properties dictionary indicating whether to return an auxiliary disparity image.

static let auxiliaryPortraitEffectsMatte: CIImageOption

The key into the properties dictionary indicating whether to return auxiliary portrait effects matte.