pub fn from_path<P>(path: P) -> BerylliumResult<Self>
        where P: AsRef<Path>
    {
        let fd = File::open(path)?;
        Self::from_reader(fd)
    }
/// Open an image from the given path. This opens the file
/// and passes it to `Image::from_reader`
Open an image from the given path. This opens the file
and passes it to `Image::from_reader`
Open an image from the given path . This opens the file and passes it to ` Image :: from_reader `
pub fn from_path<P>(path: P) -> BerylliumResult<Self>
        where P: AsRef<Path>
    {
        let fd = File::open(path)?;
        Self::from_reader(fd)
    }
pub fn from_path < P > ( path : P ) -> BerylliumResult < Self > where P : AsRef < Path > { let fd = File :: open ( path ) ? ; Self :: from_reader ( fd ) }
Open an image from the given path.
Open an image from the given path .
path
P