Function jpegxl_sys::JxlEncoderSetColorEncoding [−][src]
pub unsafe extern "C" fn JxlEncoderSetColorEncoding(
enc: *mut JxlEncoder,
color: *const JxlColorEncoding
) -> JxlEncoderStatus
Sets the global color encoding of the image encoded by this encoder.
@param enc encoder object @param color color encoding. 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