Inspecting Depth Maps, HDR Gain Maps & Portrait Segmentation Mattes in HEIC
How `auxl` References and `auxC` URNs Identify Computational Photography Layers
Computational photography on iOS stores multiple monochrome or color companion planes alongside the primary capture without polluting the visible camera roll. Each companion slice is stored as a hidden item in iinf, linked to the master photo via an auxl reference inside iref, and tagged with an AuxiliaryTypeProperty (auxC) null-terminated URN inside ipco.
Standard MPEG depth maps declare urn:mpeg:hevc:2015:auxid:2, transparency planes declare urn:mpeg:mpegB:cicp:systems:auxiliary:alpha, and Apple computational layers use vendor URNs for HDR gain maps (hdrgainmap) as well as portrait hair, skin, and glasses mattes.
- Classifies every auxC URN into depth, gainmap, alpha, matte, or custom auxiliary roles.
- Reports exact export eligibility based on coded item type (hvc1) and clean-aperture dimensions.
- Decodes eligible auxiliary handles directly into lossless grayscale/sRGB PNGs for 3D or VFX workflows.
Keeping Auxiliary Maps Out of Ordinary Batch Exports
When converting client photo folders on standard PNG or JPG routes, exporting greyscale depth maps as if they were regular photos confuses non-technical recipients. Isolating auxl planes onto their own dedicated preset gives 3D artists and Relighting tools direct access while keeping standard exports clean.