---
title: pixelFormat
framework: screencapturekit
role: symbol
role_heading: Instance Property
path: screencapturekit/scstreamconfiguration/pixelformat
---

# pixelFormat

A pixel format for sample buffers that a stream outputs.

## Declaration

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

## Discussion

Discussion A stream supports the following pixel formats:

## See Also

### Configuring colors

- [colorMatrix](screencapturekit/scstreamconfiguration/colormatrix.md)
- [colorSpaceName](screencapturekit/scstreamconfiguration/colorspacename.md)
- [backgroundColor](screencapturekit/scstreamconfiguration/backgroundcolor.md)
