Function lodepng::encode24_file

source ·
pub fn encode24_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 24-bit RGB raw image