pub unsafe extern "C-unwind" fn JxlDecoderSetPreferredColorProfile(
dec: *mut JxlDecoder,
color_encoding: *const JxlColorEncoding,
) -> JxlDecoderStatusExpand description
Sets the desired output color profile of the decoded image by calling
JxlDecoderSetOutputColorProfile, passing on color_encoding and
setting icc_data to NULL. See JxlDecoderSetOutputColorProfile for
details.
§Parameters
dec: decoder objectcolor_encoding: the default color encoding to set
§Returns
JxlDecoderStatus::Successif the preference was set successfully,JxlDecoderStatus::Errorotherwise.