Function lodepng::zlib_compress [] [src]

pub fn zlib_compress(input: &[u8], settings: &CompressSettings) -> Result<CVec<u8>, Error>

Compresses data with Zlib. Zlib adds a small header and trailer around the deflate data. The data is output in the format of the zlib specification.