pub fn parse_xmp(xmp: &str) -> Result<(GainMapParams, Option<usize>), XmpError>Expand description
Parse Ultra HDR XMP numeric metadata + optional Item:Length for
the gain map.
Returns (metadata, gainmap_length). For access to the full
Container:Directory (depth maps, confidence maps, vendor items),
use parse_xmp_full instead.