---
title: "init(_:)"
framework: coreml
role: symbol
role_heading: Initializer
path: "coreml/mlfeaturevalue/imageoption/init(_:)"
---

# init(_:)

Creates an image feature option key from a string.

## Declaration

```swift
init(_ rawValue: String)
```

## Parameters

- `rawValue`: A string that represents the name of the image feature option key.

## Discussion

Discussion Don’t use this initializer directly. Create an image option key with cropAndScale or cropRect instead.

## See Also

### Image option key initializers

- [init(rawValue:)](coreml/mlfeaturevalue/imageoption/init(rawvalue:).md)
