Function compress

fn compress<R: std::io::Read, W: Write>(options: Options, output_format: Format, in_data: R, out: W) -> Result<(), Error>

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.