pub fn load_from_file<T: ?Sized + AsRef<Path>>(
    file: &T
) -> ImageResult<ImageMeta>