Crates.io | rzopfli |
lib.rs | rzopfli |
version | 0.1.3 |
source | src |
created_at | 2024-07-22 04:19:02.599524 |
updated_at | 2024-08-04 10:37:29.440801 |
description | A lossless data compression tool using Zopfli |
homepage | https://sorairolake.github.io/rzopfli/ |
repository | https://github.com/sorairolake/rzopfli |
max_upload_size | |
id | 1310835 |
size | 86,043 |
rzopfli is a lossless data compression tool which uses the Zopfli compression algorithm.
cargo install rzopfli
The release page contains pre-built binaries for Linux, macOS and Windows.
Please see BUILD.adoc.
The command line syntax of rzopfli
is similar to gzip
and zstd
, and some
options derived from the Zopfli reference implementation. rzopfli
preserves
input files by default, just like zstd
. It's possible to remove them
automatically by using --rm
.
Compress a file into the gzip format:
rzopfli foo.txt
Write the processed data to standard output:
rzopfli -c foo.txt
Remove an input file after successful compression:
rzopfli --rm foo.txt
Performs 50 compression iterations:
rzopfli -i 50 foo.txt
Compress a file into the zlib format:
rzopfli --format zlib foo.txt
--generate-completion
option generates shell completions to standard output.
The following shells are supported:
bash
elvish
fish
nushell
powershell
zsh
Example:
rzopfli --generate-completion bash > rzopfli.bash
Please see the following:
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
Copyright © 2024 Shun Sakai (see AUTHORS.adoc)
This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.