---
title: availablePhotoPixelFormatTypes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotooutput/availablephotopixelformattypes-6eyb
---

# availablePhotoPixelFormatTypes

The pixel formats the capture output supports for photo capture.

## Declaration

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

## Mentioned in

Capturing uncompressed image data

## Discussion

Discussion To capture a photo in an uncompressed format, such as 420f, 420v, or BGRA, use the init(format:) initializer to create your photo settings object. In that initializer’s format dictionary, pass the key kCVPixelBufferPixelFormatTypeKey, whose value must be one of the pixel 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. This property supports key-value observing.

## See Also

### Determining supported pixel formats

- [availableRawPhotoPixelFormatTypes](avfoundation/avcapturephotooutput/availablerawphotopixelformattypes-5fatm.md)
- [supportedPhotoPixelFormatTypesForFileType:](avfoundation/avcapturephotooutput/supportedphotopixelformattypesforfiletype:.md)
- [supportedRawPhotoPixelFormatTypesForFileType:](avfoundation/avcapturephotooutput/supportedrawphotopixelformattypesforfiletype:.md)
- [isAppleProRAWPixelFormat(_:)](avfoundation/avcapturephotooutput/isappleprorawpixelformat(_:).md)
- [isBayerRAWPixelFormat(_:)](avfoundation/avcapturephotooutput/isbayerrawpixelformat(_:).md)
