Function lodepng::encode24_file
[−]
[src]
pub fn encode24_file<PixelType, P: AsRef<Path>>(filepath: P, image: &[PixelType], w: usize, h: usize) -> Result<(), Error>
Same as encode_file
, but always encodes from 24-bit RGB raw image