Home

Awesome


FLIF development has stopped since FLIF is superseded by FUIF and then again by JPEG XL, which is based on a combination of Pik and FUIF. A royalty-free and open source reference implementation of JPEG XL is available on GitHub. For more information, see JPEG XL community page or visit the JPEG XL Discord server.


FLIF: Free Lossless Image Format

Build Status Join the chat at https://gitter.im/jonsneyers/FLIF flif

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 https://flif.info


License

FLIF is copylefted free/libre software: you can redistribute it and/or modify it, provided that you share back.

The reference implementation of FLIF is released under the terms of the GNU Lesser General Public License version 3 or later (LGPLv3+).

The decoder library libflif_dec is released under a weaker, non-copyleft free software license: the Apache 2.0 license.

The example application viewflif illustrates how to use the decode library. The example code in viewflif.c is in the public domain (Creative Commons CC0 1.0 Universal).


Build Instructions

GNU/Linux

Install the dependencies

On Debian:

On Fedora:

On Ubuntu:

Compile

Install

Windows

OS X


Pre-Built Binaries

These will be available on the Release page

Or, you can get the Snap package:

Get it from the Snap Store


Related Projects