Skip to main content

bake_dual_layer_orientation_after

Function bake_dual_layer_orientation_after 

Source
pub fn bake_dual_layer_orientation_after(
    dual: &DualLayerHdrView<'_>,
    delta: Orientation,
) -> Result<DualLayerHdrBuf, At<ConvertError>>
Expand description

Physically bake dual.orientation().then(delta) into both base and gain_map, keeping both layers strictly registered and returning an owned DualLayerHdrBuf with Orientation::Identity.

Preserves metadata, alternate_color_space, and per-layer HdrMetadata / SampleClaims. For O(1) EXIF passthrough metadata composition without pixel rebake, use DualLayerHdrBuf::compose_orientation / DualLayerHdrView::compose_orientation.