Crates.io | rzopfli |
lib.rs | rzopfli |
version | |
source | src |
created_at | 2024-07-22 04:19:02.599524+00 |
updated_at | 2025-03-24 08:02:12.047906+00 |
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 |
Cargo.toml error: | TOML parse error at line 24, column 1 | 24 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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:
The upstream repository is available at https://github.com/sorairolake/rzopfli.git.
The source code is also available at:
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
https://sorairolake.github.io/rzopfli/
Copyright (C) 2024 Shun Sakai (see AUTHORS.adoc)
This project is compliant with version 3.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.