Function charls_sys::charls_jpegls_encoder_set_near_lossless

source ยท
pub unsafe extern "C" fn charls_jpegls_encoder_set_near_lossless(
    encoder: *mut charls_jpegls_encoder,
    near_lossless: i32,
) -> charls_jpegls_errc
Expand description
Configures the NEAR parameter the encoder should use. A value of 0 means lossless, 0 is also the default. Reference to the encoder instance. Value of the NEAR parameter. The result of the operation: success or a failure code.