pub unsafe extern "C-unwind" fn JxlEncoderSetExtraChannelName(
enc: *mut JxlEncoder,
index: usize,
name: *const u8,
size: usize,
) -> JxlEncoderStatusExpand description
Sets the name for the extra channel at the given index in UTF-8. The index
must be smaller than the num_extra_channels in the associated JxlBasicInfo.
TODO: remove size parameter for consistency with JxlEncoderSetFrameName
§Parameters
enc: encoder object.index: index of the extra channel to set.name: buffer with the name of the extra channel.size: size of the name buffer in bytes, not counting the terminating character.
§Returns
JxlEncoderStatus::Successon success.JxlEncoderStatus::Erroron error.