---
title: "init(imageAt:pixelsWide:pixelsHigh:pixelFormatType:options:)"
framework: coreml
role: symbol
role_heading: Initializer
path: "coreml/mlfeaturevalue/init(imageat:pixelswide:pixelshigh:pixelformattype:options:)"
---

# init(imageAt:pixelsWide:pixelsHigh:pixelFormatType:options:)

Construct image feature value from an image on disk. Orientation is read from Exif if avaiable

## Declaration

```swift
convenience init(imageAt url: URL, pixelsWide: Int, pixelsHigh: Int, pixelFormatType: OSType, options: [MLFeatureValue.ImageOption : Any]? = nil) throws
```
