JxlDecoderSetDesiredIntensityTarget

Function JxlDecoderSetDesiredIntensityTarget 

Source
pub unsafe extern "C-unwind" fn JxlDecoderSetDesiredIntensityTarget(
    dec: *mut JxlDecoder,
    desired_intensity_target: f32,
) -> JxlDecoderStatus
Expand description

Requests that the decoder perform tone mapping to the peak display luminance passed as desired_intensity_target, if appropriate.

§Note

This is provided for convenience and the exact tone mapping that is performed is not meant to be considered authoritative in any way. It may change from version to version.

§Parameters

  • dec: decoder object
  • desired_intensity_target: the intended target peak luminance

§Returns