pub fn fits_aspect_ratio( width: u32, height: u32, target_width: u32, target_height: u32, tolerance: f64, ) -> Result<bool, AspectRatioError>