Function lodepng::encode32_file
source · [−]pub fn encode32_file<PixelType: Pod, P: AsRef<Path>>(
filepath: P,
image: &[PixelType],
w: usize,
h: usize
) -> Result<(), Error>
Expand description
Same as encode_file
, but always encodes from 32-bit RGBA raw image