pub unsafe extern "C-unwind" fn JxlEncoderCloseBoxes(
enc: *mut JxlEncoder,
)Expand description
Declares that no further boxes will be added with JxlEncoderAddBox.
This function must be called after the last box is added so the encoder knows
the stream will be finished. It is not necessary to use this function if
JxlEncoderUseBoxes is not used. Further frames may still be added.
Must be called between JxlEncoderAddBox of the last box
and the next call to JxlEncoderProcessOutput, or JxlEncoderProcessOutput
won’t output the last box correctly.
NOTE: if you don’t need to close frames and boxes at separate times, you can
use JxlEncoderCloseInput instead to close both at once.
§Parameters
enc: encoder object.