GitHub project page

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

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

Same as encode_file, but always encodes from 32-bit RGBA raw image