pub unsafe extern "C-unwind" fn JxlEncoderCloseFrames(
enc: *mut JxlEncoder,
)Expand description
Declares that no frames will be added and JxlEncoderAddImageFrame and
JxlEncoderAddJPEGFrame won’t be called anymore. Further metadata boxes
may still be added. This function or JxlEncoderCloseInput must be called
after adding the last frame and the next call to
JxlEncoderProcessOutput, or the frame won’t be properly marked as last.
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.