JxlEncoderSetExtraChannelInfo

Function JxlEncoderSetExtraChannelInfo 

Source
pub unsafe extern "C-unwind" fn JxlEncoderSetExtraChannelInfo(
    enc: *mut JxlEncoder,
    index: usize,
    info: *const JxlExtraChannelInfo,
) -> JxlEncoderStatus
Expand 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