Skip to main content

read

Function read 

Source
pub fn read(band: &Band, col: usize, row: usize, width: usize) -> Option<f64>
Expand description

Read one pixel from a band at (col, row) as f64. Returns None if the band’s dtype isn’t supported by the resamplers (Rgb8/Rgba8 need per-channel handling that the caller does manually) or if the coordinate is out of range.