JxlDecoderGetExtraChannelInfo

Function JxlDecoderGetExtraChannelInfo 

Source
pub unsafe extern "C-unwind" fn JxlDecoderGetExtraChannelInfo(
    dec: *const JxlDecoder,
    index: usize,
    info: *mut JxlExtraChannelInfo,
) -> JxlDecoderStatus
Expand description

Outputs information for extra channel at the given index. The index must be smaller than num_extra_channels in the associated JxlBasicInfo.

§Parameters

  • dec: decoder object
  • index: index of the extra channel to query.
  • info: struct to copy the information into, or NULL to only check whether the information is available through the return value.

§Returns