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

# typeIdentifierHint

The uniform type identifier string to use in cases where a file’s format cannot
be conclusively determined based solely on its contents.

```
static let typeIdentifierHint: CIImageOption
```

## Discussion

The value of this key should be an `NSString` containing a hint.
It is most commonly needed for some RAW file formats which can also be  interpreted as TIFF files.

This option is only supported by these APIs:

- `/CIImage/imageWithContentsOfURL:options:`
- `/CIImage/initWithContentsOfURL:options:`
- `/CIImage/imageWithData:options:`
- `/CIImage/initWithData:options:`

> Note: the key `kCGImageSourceTypeIdentifierHint` key can also be used for this purpose.

---

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)