pub fn is_image_path(path: &Path) -> boolExpand description
Check whether a path looks like an image file based on extension.
Matching is case-insensitive because macOS and Windows commonly use
case-insensitive filesystems, so IMAGE.PNG is still an image.