JxlEncoderReset

Function JxlEncoderReset 

Source
pub unsafe extern "C-unwind" fn JxlEncoderReset(enc: *mut JxlEncoder)
Expand description

Re-initializes a JxlEncoder instance, so it can be re-used for encoding another image. All state and settings are reset as if the object was newly created with JxlEncoderCreate, but the memory manager is kept.

ยงParameters

  • enc: Instance to be re-initialized.