// pub(crate) mod image;
use PathBuf;
use ;
use Reader as ImageReader;
use crateLoadingError;
/// Load an rgb8 image from the given path.
///
/// ## Args
/// - `img_path`: The path to the image to load.
///
/// ## Errors
///
/// Will return `Err` if the image could not be opened or decoded.