FLIF is a lossless image format based on MANIAC compression. MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding) is a variant of CABAC (context-adaptive binary arithmetic coding), where the contexts are nodes of decision trees which are dynamically learned at encode time.
FLIF outperforms PNG, FFV1, lossless WebP, lossless BPG and lossless JPEG2000 in terms of compression ratio.
Moreover, FLIF supports a form of progressive interlacing (essentially a generalization/improvement of PNG's Adam7) which means that any prefix (e.g. partial download) of a compressed file can be used as a reasonable lossy encoding of the entire image.
For more information on FLIF, visit http://flif.info
###Build Instructions
Window
- Install Visual Studio (VS Community 2015 is free for open source projects)
- Click Start > type in
Developer Command Prompt
> hit enter - Navigate to the FLIF repo and run
Make_vs.bat
OS X
- Install homebrew
- Install kegs named
pkg-config
andlibpng
Ubuntu
sudo apt-get install libpng-dev
make
###Pre-Built Binaries
These will be available on the Release page
###Other Projects
- Poly-FLIF - A javascript polyfill that allows you to use FLIF files in the browser.
- UGUI: FLIF - A GUI that allows you to convert and view FLIF files.