Live data from Hacker News

Free Lossless Image Format

flif.info

1–10 of 374 posts

Re: Free Lossless Image Format

#3

Sounds almost too good to be true... any major downside, other than current lack of support?

FTA: "FLIF is a work in progress. The format is not finalized yet. Any small or large change in the algorithm will most likely mean that FLIF files encoded with an older version will no longer be correctly decoded by a newer version. Keep this in mind."

Re: Free Lossless Image Format

#6
This is really interesting! There seems to be some additional technical information here:

https://boards.openpandora.org/topic/18485-free-lossless-ima...

  - for interlacing it uses a generalization of PNG's Adam7; unlike PNG, the geometry of the 2D interlacing is exploited heavily to get better pixel estimation, which means the overhead of interlacing is small (vs simple scanline encoding, which has the benefit of locality so usually compresses better)

  - the colorspace is a lossless simplified variant of YIQ, alpha and Y channel are encoded first, chroma channels later

  - the real innovation is in the way the contexts are defined for the arithmetic coding: during encoding, a decision tree is constructed (a description of which is encoded in the compressed stream) which is a way to dynamically adapt the CABAC contexts to the specific encoded image. We have called this method "MANIAC", which is a backronym for "Meta-Adaptive Near-zero Integer Arithmetic Coding".

Re: Free Lossless Image Format

#8

Sounds almost too good to be true... any major downside, other than current lack of support?

Perhaps the MANIAC/CABAC decoding or encoding is computationally more intensive compared to the others? Concerning lack of support, just like with the BPG decoder you could generate the Javascript through Emscripten so any javaszcript enabled browser can view them. Personally an even more efficient lossy image compressor would be great (getting my avatar down to 1K and still sharp). When using diagrams or text the mozjpeg artifact eraser is adequate.

Re: Free Lossless Image Format

#9
I don't see any foundations or corporations backing this project. Without support (I hope something like this does gain wide scale support (SVG in browsers for the Internet please already!) I don't see this being accepted.
Post reply on HN