Function imagefmt::write
[−]
[src]
pub fn write<P>(filepath: P, w: usize, h: usize, src_fmt: ColFmt, data: &[u8], tgt_type: ColType) -> Result<()> where P: AsRef<Path>
Writes an image and converts it to requested color type.