pub fn calculate_ratios( area_width: u32, area_height: u32, image_width: u32, image_height: u32, aspect_x: f64, aspect_y: f64, ) -> Ratios