pub unsafe extern "C-unwind" fn JxlEncoderCreate(
memory_manager: *const JxlMemoryManager,
) -> *mut JxlEncoderExpand description
Creates an instance of JxlEncoder and initializes it.
§Parameters
memory_manager: Custom allocator function. It may beNULL. The memory manager will be copied internally. IfNULL, the default allocator will be used. Seecrate::common::memory_managerfor details.
§Returns
NULLif the instance cannot be allocated or initialized.- Pointer to initialized
JxlEncoderotherwise.