<!--
{
  "availability" : [
    "iOS: 14.3.0 -",
    "iPadOS: 14.3.0 -",
    "macCatalyst: 14.3.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoOutput/isBayerRAWPixelFormat(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoOutput(cm)isBayerRAWPixelFormat:"
  },
  "title" : "isBayerRAWPixelFormat(_:)"
}
-->

# isBayerRAWPixelFormat(_:)

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

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

## Parameters

`pixelFormat`

The pixel format to query.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the pixel format is a Bayer RAW format, otherwise <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)