<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 17.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoOutput/availableRawPhotoPixelFormatTypes-9t9k5",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So20AVCapturePhotoOutputC12AVFoundationE012availableRawB16PixelFormatTypesSays6UInt32VGvp"
  },
  "title" : "availableRawPhotoPixelFormatTypes"
}
-->

# availableRawPhotoPixelFormatTypes

The pixel formats the capture output supports for RAW photo capture.

```
@nonobjc var availableRawPhotoPixelFormatTypes: [OSType] { get }
```

## Discussion

To capture a photo in RAW format, use the [`init(rawPixelFormatType:)`](/documentation/AVFoundation/AVCapturePhotoSettings/init(rawPixelFormatType:)) or [`init(rawPixelFormatType:processedFormat:)`](/documentation/AVFoundation/AVCapturePhotoSettings/init(rawPixelFormatType:processedFormat:)) initializer to create your photo settings object. The value for that initializer’s `rawPixelFormatType` parameter must be one of the Bayer RAW format identifiers listed in this array.

> Note:
> Read this property only after adding the photo capture output to an ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureSession`` object containing a video source. If the photo capture output isn’t connected to a session with a video source, this array is empty.
> 
> Not all devices support RAW image capture. If the current device doesn’t support RAW capture, this array is empty.

This property supports key-value observing.

---

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)