Hacker News new | ask | show | jobs
by vanderZwan 3318 days ago
Err... FLIF is intended for lossless compression, but can be lossy (it doesn't perform as well as intentionally lossy codecs, although that might also be a matter of optimising for it).

However, it also has a kind of adaptive ML-ish approach so it might be technically similar.

> FLIF is based on MANIAC compression. MANIAC (Meta-Adaptive Near-zero Integer Arithmetic Coding) is an algorithm for entropy coding developed by Jon Sneyers and Pieter Wuille. It is a variant of CABAC (context-adaptive binary arithmetic coding), where instead of using a multi-dimensional array of quantized local image information, the contexts are nodes of decision trees which are dynamically learned at encode time. This means a much more image-specific context model can be used, resulting in better compression.

http://flif.info/