---
title: availableRawPhotoPixelFormatTypes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/availablerawphotopixelformattypes-5fatm
---

# availableRawPhotoPixelFormatTypes

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

## Declaration

```occ
@property (nonatomic, readonly) NSArray<NSNumber *> * availableRawPhotoPixelFormatTypes;
```

## Mentioned in

Capturing photos in RAW and Apple ProRAW formats

## Discussion

Discussion To capture a photo in RAW format, use the init(rawPixelFormatType:) or 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 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.

## See Also

### Determining supported pixel formats

- [availablePhotoPixelFormatTypes](avfoundation/avcapturephotooutput/availablephotopixelformattypes-6eyb.md)
- [supportedPhotoPixelFormatTypesForFileType:](avfoundation/avcapturephotooutput/supportedphotopixelformattypesforfiletype:.md)
- [supportedRawPhotoPixelFormatTypesForFileType:](avfoundation/avcapturephotooutput/supportedrawphotopixelformattypesforfiletype:.md)
- [isAppleProRAWPixelFormat(_:)](avfoundation/avcapturephotooutput/isappleprorawpixelformat(_:).md)
- [isBayerRAWPixelFormat(_:)](avfoundation/avcapturephotooutput/isbayerrawpixelformat(_:).md)
