Farbfeld v2 demo
Four sample images, each stored three ways: the original PNG, a lossless .ff v2, and a
near-lossless .ff v2 (--near 4, every channel within 4 of the original). This page downloads
all three, decodes them in your browser with ffimg.js, and measures the
decode time and the pixel difference live, so the numbers below are yours, not mine.
Sizes are the file sizes. The PNG decodes natively; the .ff decodes in JavaScript, which is why
it is slower. A lossless .ff showing "differ" means the browser's canvas changed the PNG's pixels
(a colour profile or transparency), not the codec. test.cjs checks the codec itself.
Animation
One .ff file can hold an animation, still with no container: frames, delays and loop count live in
the same coded stream, and each frame is predicted from the one before. Left is the original GIF, right is
the same 17 frames as a single .ff, played by ffimg.js from a plain
<img data-src="lain-anim.ff">.

16-bit
Classic farbfeld is 16 bits per channel, and v2 can keep that too (--16, or any v1 .ff as input),
losslessly. Below, one dark gradient file is read at full depth by FFImg.decode16 and the same values
are then squashed to 8 bits, both stretched by the same factor so the difference is visible.