Skip to main content

generate_gainmap_xmp

Function generate_gainmap_xmp 

Source
pub fn generate_gainmap_xmp(metadata: &GainMapParams) -> String
Expand description

Generate XMP for the gain-map (secondary) JPEG: numeric metadata only (no Container:Directory).

Goes in the gain-map JPEG’s APP1 marker. Together with the primary’s Container:Directory XMP, this matches libultrahdr’s canonical output.