pub fn is_image_path(path: &Path) -> bool
True when path is a file image-mode presents.
path
image-mode
Shared by the mode’s claim and its media producer so the two cannot disagree about which files are pictures.