pub fn get_image_dimensions(path: &Path) -> Option<(u32, u32)>
Get the dimensions of an image without fully decoding it