---
title: pixelFormat
framework: vision
role: symbol
role_heading: Instance Property
path: vision/opticalflowobservation/pixelformat
---

# pixelFormat

The four-character code that identifies the pixel format.

## Declaration

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

## See Also

### Inspecting an observation

- [size](vision/opticalflowobservation/size.md)
