FELICS, short for "Fast and Efficient Lossless Image Compression", is an image compression method that gives compression comparable to JPEG's lossless mode with about five times the speed.
You can read the original paper here.
To run the tests while ignoring the expensive tests:
cargo test
To run all the tests:
cargo test -- --include-ignored
To build the project:
cargo build
To install cfelics
, dfelics
(tools to convert to/from other image formats) and vfelics
(the felics image visualizer):
cargo install --path .
First, you need to install the following dependencies:
- ImageMagick's convert
- cwebp and
dwebp
cfelics
anddfelics
- python3 (this was tested on version 3.10.12)
To run the benchmarks:
cd bench/
python3 benchmark-big-corpus.py
You can find a detailed description of the algorithm and how it compares to other image formats in DOC.md. It also includes some preliminaries about data compression, Rice codes and Phased-In codes.