pub unsafe extern "C-unwind" fn JxlDecoderGetExtraChannelInfo(
dec: *const JxlDecoder,
index: usize,
info: *mut JxlExtraChannelInfo,
) -> JxlDecoderStatusExpand 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 objectindex: index of the extra channel to query.info: struct to copy the information into, orNULLto only check whether the information is available through the return value.
§Returns
JxlDecoderStatus::Successif the value is availableJxlDecoderStatus::NeedMoreInputif not yet availableJxlDecoderStatus::Errorin case of other error conditions.