---
title: "isBayerRAWPixelFormat(_:)"
framework: avfoundation
role: symbol
role_heading: Type Method
path: "avfoundation/avcapturephotooutput/isbayerrawpixelformat(_:)"
---

# isBayerRAWPixelFormat(_:)

Returns a Boolean value that indicates whether the pixel format is a Bayer RAW format.

## Declaration

```swift
class func isBayerRAWPixelFormat(_ pixelFormat: OSType) -> Bool
```

## Parameters

- `pixelFormat`: The pixel format to query.

## Mentioned in

Capturing photos in RAW and Apple ProRAW formats

## Return Value

Return Value true if the pixel format is a Bayer RAW format, otherwise false.

## See Also

### Determining supported pixel formats

- [availablePhotoPixelFormatTypes](avfoundation/avcapturephotooutput/availablephotopixelformattypes-3ydgm.md)
- [availableRawPhotoPixelFormatTypes](avfoundation/avcapturephotooutput/availablerawphotopixelformattypes-9t9k5.md)
- [supportedPhotoPixelFormatTypes(for:)](avfoundation/avcapturephotooutput/supportedphotopixelformattypes(for:).md)
- [supportedRawPhotoPixelFormatTypes(for:)](avfoundation/avcapturephotooutput/supportedrawphotopixelformattypes(for:).md)
- [isAppleProRAWPixelFormat(_:)](avfoundation/avcapturephotooutput/isappleprorawpixelformat(_:).md)
