pub unsafe extern "C-unwind" fn JxlEncoderSetOutputProcessor(
enc: *mut JxlEncoder,
output_processor: JxlEncoderOutputProcessor,
) -> JxlEncoderStatusExpand description
Sets the output processor for the encoder. This processor determines how the encoder will handle buffering, writing, seeking (if supported), and setting a finalized position during the encoding process.
This should not be used when using JxlEncoderProcessOutput.
§Parameters
enc: Encoder object.output_processor: The struct containing the callbacks for managing output.
§Returns
JxlEncoderStatus::Successon success.JxlEncoderStatus::Erroron error.