GitHub project page

Function lodepng::encode24_file [-]  [+] [src]

pub fn encode24_file<PixelType>(filepath: &Path, image: &[PixelType], w: usize, h: usize) -> Result<(), Error>

Same as encode_file, but always encodes from 24-bit RGB raw image