A dictionary describing the processed format (for example, JPEG) to deliver captured photos in.
- iOS 10.0+
- macOS 10.15+
- Mac Catalyst 13.0+
When capturing images in processed formats, the following requirements apply:
This dictionary must contain a value for either the
k(to request an uncompressed format) or
CVPixel Buffer Pixel Format Type Key
AVVideo(to request a compressed format such as JPEG) key, but not both.
Your delegate method must implement the
Output(_: did Finish Processing Photo: preview Photo: resolved Settings: bracket Settings: error:)
The capture output validates these requirements when you call the
capture method. If your settings and delegate do not meet these requirements, that method raises an exception.