pub unsafe extern "C-unwind" fn JxlEncoderInitExtraChannelInfo(
channel_type: JxlExtraChannelType,
info: *mut JxlExtraChannelInfo,
)Expand description
Initializes a JxlExtraChannelInfo struct to default values.
For forwards-compatibility, this function has to be called before values
are assigned to the struct fields.
The default values correspond to an 8-bit channel of the provided type.
ยงParameters
channel_type: type of the extra channel.info: global extra channel metadata. Object owned by the caller and its contents are copied internally.