
I made TinyCodec, 71 lines of code, beats QOI.
Hi. I made TinyCodec/TCOM, a lossless image codec that I made in 71 lines of code which beats QOI on aggregate file size and encode/decode speed (On the corpus that I personally use).
It's 158 lines of code to support a cli with pack/unpack commands, inputs like webp, bmp, pnm, png, etc.
That's about all.
If you find it interesting, it's Apache-2.0 and on the GitHub.
Edit: This is now outdated, it's now 45 lines, it has a readable implementation beside it (164 lines of code) the cli and format adapter is 157 lines of code, and the benchmarks got slighter better.