Skip to main content

read_png

Function read_png 

Source
pub fn read_png(path: &Path) -> Result<(usize, usize, Vec<Vec<f64>>)>
Expand description

PNG を読む(グレー・RGB、8・16 bit、パレット・α 付きも。α は捨てる): (幅, 高さ, チャンネル(1 か 3、行 0 = 上、0〜1))