Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.28 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.28 KB

FELICS

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.

Running the tests

To run the tests while ignoring the expensive tests:

cargo test

To run all the tests:

cargo test -- --include-ignored

Building and installing

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 .

Running the benchmarks

First, you need to install the following dependencies:

  • ImageMagick's convert
  • cwebp and dwebp
  • cfelics and dfelics
  • python3 (this was tested on version 3.10.12)

To run the benchmarks:

cd bench/
python3 benchmark-big-corpus.py

Documentation

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.