pub fn is_image_path(path: &Path) -> bool
Check whether a path looks like an image file based on extension.