geotiff 0.1.0

A GeoTIFF library for Rust
Documentation
1
2
3
4
5
6
7
8
use std::fs::File;
use std::path::Path;

use geotiff::GeoTiff;

pub fn read_geotiff<P: AsRef<Path>>(path: P) -> GeoTiff {
    GeoTiff::read(File::open(path).expect("File I/O error")).expect("File I/O error")
}