<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIImageOption",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:@T@CIImageOption"
  },
  "title" : "CIImageOption"
}
-->

# CIImageOption

```
struct CIImageOption
```

## Topics

### Initializers

[`init(rawValue:)`](/documentation/CoreImage/CIImageOption/init(rawValue:))

### Type Properties

[`kCIImageApplyOrientationProperty`](/documentation/CoreImage/CIImageOption/applyOrientationProperty)

The key for transforming an image according to orientation metadata.

[`kCIImageAuxiliaryDepth`](/documentation/CoreImage/CIImageOption/auxiliaryDepth)

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

[`kCIImageAuxiliaryDisparity`](/documentation/CoreImage/CIImageOption/auxiliaryDisparity)

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

[`kCIImageAuxiliaryHDRGainMap`](/documentation/CoreImage/CIImageOption/auxiliaryHDRGainMap)

[`kCIImageAuxiliaryPortraitEffectsMatte`](/documentation/CoreImage/CIImageOption/auxiliaryPortraitEffectsMatte)

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

[`kCIImageAuxiliarySemanticSegmentationGlassesMatte`](/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationGlassesMatte)

[`kCIImageAuxiliarySemanticSegmentationHairMatte`](/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationHairMatte)

[`kCIImageAuxiliarySemanticSegmentationSkinMatte`](/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationSkinMatte)

[`kCIImageAuxiliarySemanticSegmentationSkyMatte`](/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationSkyMatte)

[`kCIImageAuxiliarySemanticSegmentationTeethMatte`](/documentation/CoreImage/CIImageOption/auxiliarySemanticSegmentationTeethMatte)

[`kCIImageCacheImmediately`](/documentation/CoreImage/CIImageOption/cacheImmediately)

[`kCIImageColorSpace`](/documentation/CoreImage/CIImageOption/colorSpace)

The key for a color space.

[`kCIImageExpandToHDR`](/documentation/CoreImage/CIImageOption/expandToHDR)

A Boolean value that indicates whether to read Gain Map HDR images as HDR.

[`kCIImageNearestSampling`](/documentation/CoreImage/CIImageOption/nearestSampling)

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

[`kCIImageProperties`](/documentation/CoreImage/CIImageOption/properties)

The key for image metadata properties.

[`kCIImageProviderTileSize`](/documentation/CoreImage/CIImageOption/providerTileSize)

A key for the image tiles size. The associated value is an `NSArray` that contains`NSNumber` objects for the dimensions of the image tiles requested from the image provider.

[`kCIImageProviderUserInfo`](/documentation/CoreImage/CIImageOption/providerUserInfo)

A key for data needed by the image provider. The associated value is an object that contains the needed data.

[`kCIImageTextureFormat`](/documentation/CoreImage/CIImageOption/textureFormat)

The key for an OpenGL texture format.

[`kCIImageTextureTarget`](/documentation/CoreImage/CIImageOption/textureTarget)

The key for an OpenGL texture target.

[`kCIImageToneMapHDRtoSDR`](/documentation/CoreImage/CIImageOption/toneMapHDRtoSDR)

[`kCIImageContentHeadroom`](/documentation/CoreImage/CIImageOption/contentHeadroom)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)