use Path;
/// Determines if a path points to a supported image file based on its extension.
///
/// # Supported formats
///
/// * JPEG (.jpg, .jpeg)
/// * PNG (.png)
/// * GIF (.gif)
/// * BMP (.bmp)
/// * WebP (.webp)
/// * TIFF (.tiff, .tif)
///
/// # Arguments
///
/// * `path` - The file path to check
///
/// # Returns
///
/// `true` if the file extension indicates an image file, `false` otherwise