<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCapturePhotoOutput/availablePhotoPixelFormatTypes-6eyb",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCapturePhotoOutput(py)availablePhotoPixelFormatTypes"
  },
  "title" : "availablePhotoPixelFormatTypes"
}
-->

# availablePhotoPixelFormatTypes

The pixel formats the capture output supports for photo capture.

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

## Discussion

To capture a photo in an uncompressed format, such as 420f, 420v, or BGRA, use the [`init(format:)`](/documentation/AVFoundation/AVCapturePhotoSettings/init(format:)) initializer to create your photo settings object. In that initializer’s `format` dictionary, pass the key <doc://com.apple.documentation/documentation/CoreVideo/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 ``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.

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)