---
title: pixelFormatType
framework: coreml
role: symbol
role_heading: Instance Property
path: coreml/mlimageconstraint/pixelformattype
---

# pixelFormatType

The model’s pixel format for an image feature.

## Declaration

```swift
var pixelFormatType: OSType { get }
```

## See Also

### Accessing the constraints

- [pixelsWide](coreml/mlimageconstraint/pixelswide.md)
- [pixelsHigh](coreml/mlimageconstraint/pixelshigh.md)
