pub unsafe extern "C-unwind" fn JxlDecoderSetDesiredIntensityTarget(
dec: *mut JxlDecoder,
desired_intensity_target: f32,
) -> JxlDecoderStatusExpand 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 objectdesired_intensity_target: the intended target peak luminance
§Returns
JxlDecoderStatus::Successif the preference was set successfully,JxlDecoderStatus::Errorotherwise.