pub fn validate_jpeg_quality(quality: u8) -> Result<u8>
Expand description

Strictly speaking not necessary here since the responsible owners will validate the quality as well. However, by doing anyways it we can exit earlier.