pub unsafe extern "C-unwind" fn JxlEncoderSetExtraChannelInfo(
enc: *mut JxlEncoder,
index: usize,
info: *const JxlExtraChannelInfo,
) -> JxlEncoderStatusExpand description
Sets information for the extra channel at the given index. The index
must be smaller than num_extra_channels in the associated JxlBasicInfo.
§Parameters
enc: encoder object.index: index of the extra channel to set.info: global extra channel metadata. Object owned by the caller and its contents are copied internally.
§Returns
JxlEncoderStatus::Successon success.JxlEncoderStatus::Erroron error.