opencv::imgcodecs
pub const IMWRITE_JPEG_QUALITY: i32
For JPEG, it can be a quality from 0 to 100 (the higher is the better). Default value is 95.