zopfli

Function compress

Source
pub fn compress<R: Read, W: Write>(
    options: Options,
    output_format: Format,
    in_data: R,
    out: W,
) -> Result<(), Error>
Expand description

Compresses data from a source with the Zopfli algorithm, using the specified options, and writes the result to a sink in the defined output format.