Skip to main content

write_png16_channels

Function write_png16_channels 

Source
pub fn write_png16_channels(
    path: &Path,
    w: usize,
    h: usize,
    ch: &[Vec<f64>],
) -> Result<()>
Expand description

16 bit の PNG(チャンネル 1 ならグレー、3 なら RGB。値は 0〜1 を 0〜65535 に、外は切る。行 0 = 上)