Show HN: Lines of C, Beats QOI
Category: library
Tags: image-codec, c, lossless-compression, minimalist, qoi-alternative
Score: 5.0/10 (Innovation: 6, Technical: 5, Documentation: 5, Utility: 4)
TinyCodec is a lossless image codec implemented in just 45 lines of C, with a CLI (164 lines) supporting PNG, BMP, PNM/PAM, QOI, and WebP. It outperforms QOI in both compression ratio and speed, and shows impressive performance against libpng and Oxipng, making it an interesting minimalist codec for embedded or performance-sensitive applications.
Target audience: backend devs, embedded developers, performance engineers
Repository: https://github.com/OzzyMitchell/tinycodec · C · Apache-2.0 · 9 stars
View on Hacker News