Instance Property

availablePhotoCodecTypes

The compression codecs this capture output currently supports for photo capture.

Declaration

@property(nonatomic, readonly) NSArray<AVVideoCodecType> *availablePhotoCodecTypes;

Discussion

To capture a photo in a compressed format, such as JPEG, use the photoSettingsWithFormat: initializer to create your photo settings object. In that initializer’s format dictionary, pass the key AVVideoCodecKey, whose value must be one of the codec identifiers listed in this array.

This property supports Key-value observing.

See Also

Choosing Data and File Formats

availablePhotoFileTypes

The list of file types currently supported for photo capture and output.

availableRawPhotoFileTypes

The list of file types currently supported for RAW format capture and output.

- supportedPhotoCodecTypesForFileType:

Returns the list of photo codecs (such as JPEG or HEVC) supported for photo data in the specified file type.

- supportedPhotoPixelFormatTypesForFileType:

Returns the list of uncompressed pixel formats supported for photo data in the specified file type.

- supportedRawPhotoPixelFormatTypesForFileType:

Returns the list of Bayer RAW pixel formats supported for photo data in the specified file type.

availablePhotoPixelFormatTypes

The pixel formats this capture output currently supports for photo capture.

availableRawPhotoPixelFormatTypes

The pixel formats this capture output currently supports for RAW photo capture.