Function libjxl_sys::JxlEncoderSetBasicInfo [−][src]
pub unsafe extern "C" fn JxlEncoderSetBasicInfo(
enc: *mut JxlEncoder,
info: *const JxlBasicInfo
) -> JxlEncoderStatus
Sets the global metadata of the image encoded by this encoder.
@param enc encoder object. @param info global image metadata. Object owned by the caller and its contents are copied internally. @return JXL_ENC_SUCCESS if the operation was successful, JXL_ENC_ERROR or JXL_ENC_NOT_SUPPORTED otherwise