---
title: "CVPixelFormatTypeCopyFourCharCodeString(_:)"
framework: corevideo
role: symbol
role_heading: Function
path: "corevideo/cvpixelformattypecopyfourcharcodestring(_:)"
---

# CVPixelFormatTypeCopyFourCharCodeString(_:)

## Declaration

```swift
func CVPixelFormatTypeCopyFourCharCodeString(_ pixelFormat: OSType) -> CFString
```

## Parameters

- `pixelFormat`: The pixel format to convert

## Return Value

Return Value A string with a user displayable conversion of a pixel format.

## Discussion

Discussion Creates a string with a formatted representation of a pixel format
