JxlDecoderSetPreferredColorProfile

Function JxlDecoderSetPreferredColorProfile 

Source
pub unsafe extern "C-unwind" fn JxlDecoderSetPreferredColorProfile(
    dec: *mut JxlDecoder,
    color_encoding: *const JxlColorEncoding,
) -> JxlDecoderStatus
Expand 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 object
  • color_encoding: the default color encoding to set

§Returns