JxlDecoderSetCms

Function JxlDecoderSetCms 

Source
pub unsafe extern "C-unwind" fn JxlDecoderSetCms(
    dec: *mut JxlDecoder,
    cms: JxlCmsInterface,
) -> JxlDecoderStatus
Expand description

Sets the color management system (CMS) that will be used for color conversion (if applicable) during decoding. May only be set before starting decoding and must not be called after JxlDecoderSetOutputColorProfile.

See JxlDecoderSetOutputColorProfile for how color conversions are done depending on whether or not a CMS has been set with JxlDecoderSetCms.

ยงParameters

  • dec: decoder object.
  • cms: structure representing a CMS implementation. See JxlCmsInterface for more details.