fn extract_primary_embedded_jpeg( path: &Path, flip: i32, sensor_dims: (u32, u32), ) -> Option<Texture>