Instance Property

availableRawPhotoFileTypes

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

Declaration

var availableRawPhotoFileTypes: [AVFileType] { get }

Discussion

When you issue a photo capture request, you can separately specify the format for capturing or encoding image data and the container format for producing output files containing that data. However, each file type supports only a specific set of image data types.

After choosing an output file type, use the supportedRawPhotoPixelFormatTypes(for:) method to choose an appropriate data format before creating a photo settings object.

See Also

Choosing Data and File Formats

var availablePhotoFileTypes: [AVFileType]

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

func supportedPhotoCodecTypes(for: AVFileType) -> [AVVideoCodecType]

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

func supportedPhotoPixelFormatTypes(for: AVFileType) -> [NSNumber]

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

func supportedRawPhotoPixelFormatTypes(for: AVFileType) -> [NSNumber]

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

var availablePhotoCodecTypes: [AVVideoCodecType]

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