[][src]Function jpegxl_sys::JpegxlDecoderGetExtraChannelInfo

pub unsafe extern "C" fn JpegxlDecoderGetExtraChannelInfo(
    dec: *const JpegxlDecoder,
    index: size_t,
    info: *mut JpegxlExtraChannelInfo
) -> JpegxlDecoderStatus

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

@param dec decoder object @param index index of the extra channel to query. @param info struct to copy the information into, or NULL to only check whether the information is available through the return value. @return JPEGXL_DEC_SUCCESS if the value is available, JPEGXL_DEC_NEED_MORE_INPUT if not yet available, JPEGXL_DEC_ERROR in case of other error conditions.