Creates a depth data object from depth information such as that found in an image file.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
A dictionary of primitive depth-related information, in the format provided by the
Source Copy Auxiliary Data Info At Index
When using CGImageSource functions to read from a HEIF, JPEG, or DNG file containing depth data (as well as image data), you can use the
CGImage function to load primitive depth map information, then use this initializer to create an
AVDepth object, as shown below.